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