X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Funit_tests%2Ftest_runner.py;fp=direct%2Ftest-framework%2Funit_tests%2Ftest_runner.py;h=77bab485a5b559d5de49974603d21b05f24cd2af;hp=a8af075afeff4bad06c03730eed786d04d657767;hb=f83f5b03c1eea3fe26a0929583ffbd16df7c64f0;hpb=e75b5ce7a149d0c7807c95560a611adbe3e19e9c diff --git a/direct/test-framework/unit_tests/test_runner.py b/direct/test-framework/unit_tests/test_runner.py index a8af075..77bab48 100755 --- a/direct/test-framework/unit_tests/test_runner.py +++ b/direct/test-framework/unit_tests/test_runner.py @@ -1,14 +1,20 @@ #!/usr/bin/env python3 """ - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * - * Copyright (C) 2002-2021 Aleph One Ltd. - * - * Created by Timothy Manning - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. +test_runner.py +This file runs all of the yaffs unit tests and aggrates the outputs. + +To run this file you can use: + +$ python3 test_runner.py + +or + +$ ./test_runner.py + +To add a new test to this test runner, add the test dir path to the +test_list below. Inside that folder there need to be a makefile with +a "test" target that compiles and runs the test script. I.e. "make test" +is called in every test directory. """