From: Kevin Day Date: Tue, 30 May 2023 22:47:35 +0000 (-0500) Subject: Cleanup: FSS Read testfile and related. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=ec63b30af309f1f534190e345e391421dab0f200;p=fll Cleanup: FSS Read testfile and related. Add some new lines to the testfile. Remove a redundant directory create operation in the testfile. Remove the '=' character as it does not provide anything useful when printing the test status. --- diff --git a/level_3/fss_read/data/build/testfile b/level_3/fss_read/data/build/testfile index 48974bb..27a5605 100644 --- a/level_3/fss_read/data/build/testfile +++ b/level_3/fss_read/data/build/testfile @@ -24,33 +24,36 @@ main: generate: print print Generating Test 0000 for Basic (FSS-0000). + print touch directory parameter:"build_path"test/fss_0000 run bash ./tests/runtime/script/generate.sh test-0000 tests/runtime/fss_0000/source/test-0000-quotes_and_escapes.fss parameter:"build_path"test/fss_0000 print print Generating Test 0001 for Basic (FSS-0000). + print run bash ./tests/runtime/script/generate.sh test-0000 tests/runtime/fss_0000/source/test-0001-unicode.fss parameter:"build_path"test/fss_0000 - touch directory parameter:"build_path"test/fss_0001 - print print Generating Test 0000 for Extended (FSS-0001). - + print touch directory parameter:"build_path"test/fss_0001 run bash ./tests/runtime/script/generate.sh test-0001 tests/runtime/fss_0001/source/test-0000-quotes_and_escapes.fss parameter:"build_path"test/fss_0001 print print Generating Test 0001 for Extended (FSS-0001). + print run bash ./tests/runtime/script/generate.sh test-0001 tests/runtime/fss_0001/source/test-0001-unicode.fss parameter:"build_path"test/fss_0001 verify: print print Verifying Tests for Basic (FSS-0000). + print run bash ./tests/runtime/script/verify.sh build/test/fss_0000/ tests/runtime/fss_0000/expect/ print print Verifying Tests for Extended (FSS-0001). + print run bash ./tests/runtime/script/verify.sh build/test/fss_0001/ tests/runtime/fss_0001/expect/ build_path: @@ -83,6 +86,7 @@ ld_library_path: help: print print context:'title'Fakefile Options for FSS Read Software Testing.context:'reset' + print print print The following operations are available\: diff --git a/level_3/fss_read/tests/runtime/script/verify.sh b/level_3/fss_read/tests/runtime/script/verify.sh index de43375..4052bf7 100644 --- a/level_3/fss_read/tests/runtime/script/verify.sh +++ b/level_3/fss_read/tests/runtime/script/verify.sh @@ -92,9 +92,9 @@ verify_operate_test_standard() { basename_file=$(echo -n ${basename_file} | sed -e 's|\.expect$||') if [[ $hash_build == $hash_expect ]] ; then - echo "[ Success ] = ${basename_file}." + echo "[ Success ] ${basename_file}." else - echo "[ Failure ] = ${basename_file}." + echo "[ Failure ] ${basename_file}." let failure=1 fi