]> Kevux Git Server - fll/commitdiff
Cleanup: FSS Read testfile and related.
authorKevin Day <kevin@kevux.org>
Tue, 30 May 2023 22:47:35 +0000 (17:47 -0500)
committerKevin Day <kevin@kevux.org>
Tue, 30 May 2023 22:47:35 +0000 (17:47 -0500)
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.

level_3/fss_read/data/build/testfile
level_3/fss_read/tests/runtime/script/verify.sh

index 48974bb5f8a4854388900005147afee7061c491f..27a5605fbabe63e10c35ae7969a7c97276527b2e 100644 (file)
@@ -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\:
index de43375e241cf29c2e0db932cbd2c8b16c37688b..4052bf7e6d95dc5ebbcb34f138bdd3f35e2447b0 100644 (file)
@@ -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