Home | History | Annotate | Download | only in doc
      1 rt-test - HOWTO_ADD_TESTS
      2 ==========================
      3 
      4 1. Select the appropriate bucket
      5 	- func, stress, perf
      6 	- under those, should it go into an existing
      7 	  subdirectory?
      8 	- note that only the top level subdirectory
      9 	  (which has a run_auto.sh script) gets listed
     10 	  individually as an available test.
     11 	- run "run.sh -t list" to see available tests
     12 
     13 2. If you are creating a new subdirectory:
     14    Provide:
     15 	- your test files
     16 	- your GNUMakefile.am
     17 	- your run_auto.sh script (use template: doc/run_auto.sh.tpl)
     18 
     19 3. Modify tests profiles if to be run automatically
     20 	- profile/default
     21 	- other profiles if needed
     22 
     23 4. Test the following:
     24 	$make
     25 	$run.sh -t list
     26 	$run.sh -t clean
     27 	$run.sh -t subdir # entire bucket
     28 	$run.sh -t subdir/your_test_dir
     29 	$subdir/your_test_dir/run_auto.sh
     30 
     31 5. Test source files:
     32 	(Ideally...:))
     33 	- your test source files have
     34 		- a clear description of test purpose and criteria
     35 		- author
     36 		- license
     37 		- requirements for set up, etc
     38 	- your test has clear PASS/FAIL criteria if functional
     39 	- your test logs some result
     40 	- your test has a -h option which displays usage
     41