Commits

Anonymous committed 841694c

Partially modernize test suite (passes with py-falderal.)

  • Participants
  • Parent commits 757805b

Comments (0)

Files changed (12)

 rm -f expected.sexp out.sexp
 
 echo "Testing Pixley programs as Scheme programs..."
-falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh %(test-file)"' src/tests.falderal
+falderal test tests/config/Pixley-as-Scheme.markdown src/tests.falderal
 
 echo "Testing Pixley programs on Pixley reference interpreter..."
-falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh src/pixley.pix %(test-file)"' src/tests.falderal
+falderal test tests/config/Pixley-as-Pixley.markdown src/tests.falderal
 
 echo "Testing Pixley programs on Pixley interpreter on Pixley interpreter..."
-falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh src/pixley.pix src/pixley.pix %(test-file)"' src/tests.falderal
+falderal test tests/config/Pixley-as-Pixley^2.markdown src/tests.falderal
 
 # On my computer, the following test takes about 19 seconds on plt-r5rs, but
 # about 32 minutes with tinyscheme -- possibly because of frequent GC?
 # Meanwhile, it breaks miniscm completely.
 
 # echo "Testing Pixley programs on (Pixley reference interpreter)^3..."
-# falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh src/pixley.pix src/pixley.pix src/pixley.pix %(test-file)"' src/tests.falderal
+# falderal test tests/config/Pixley-as-Pixley^3.markdown src/tests.falderal
 
 # And if you have an hour or so to kill, you can try the next level up!
 # (That's with plt-r5rs; I imagine tinyscheme would take much longer)
 
 # echo "Testing Pixley programs on (Pixley reference interpreter)^4..."
-# time falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh src/pixley.pix src/pixley.pix src/pixley.pix src/pixley.pix %(test-file)"' src/tests.falderal
+# time falderal test tests/config/Pixley-as-Pixley^4.markdown src/tests.falderal
 
 echo "Running Falderal tests for P-Normalizer..."
 falderal test dialect/p-normal.falderal
 script/tower.sh src/pixley.pix dialect/p-normal.pix src/pixley.pix > src/p-normal-pixley.pix
 
 echo "Testing Pixley programs on P-Normalized interpreter..."
-falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh src/p-normal-pixley.pix %(test-file)"' src/tests.falderal
+falderal test tests/config/Pixley-on-P-Normal-Pixley.markdown src/tests.falderal
 
 rm -f src/p-normal-pixley.pix
 
 echo "Testing Pixley programs on Pixley interpreter in Pifxley..."
-falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh dialect/pixley.pifx %(test-file)"' src/tests.falderal
+falderal test tests/config/Pixley-on-Pifxley.markdown src/tests.falderal
 
 echo "Testing Pifxley programs as Scheme..."
-falderal test -f 'Interpret Pifxley Program:shell command "script/tower.sh %(test-file)"' dialect/pifxley.falderal
+falderal test tests/config/Pifxley-as-Scheme.markdown dialect/pifxley.falderal
 
 echo "Testing Pifxley programs on Pifxley interpreter in Pifxley..."
-falderal test -f 'Interpret Pifxley Program:shell command "script/tower.sh dialect/pifxley.pifx %(test-file)"' dialect/pifxley.falderal
+falderal test tests/config/Pifxley-as-Pifxley.markdown dialect/pifxley.falderal
 
 echo "Testing Pixley programs on Crabwell interpreter..."
-falderal test -f 'Interpret Pixley Program:shell command "script/tower.sh dialect/crabwell.pix %(test-file)"' src/tests.falderal
+falderal test tests/config/Pixley-on-Crabwell.markdown src/tests.falderal
 
 echo "Testing Crabwell programs on Crabwell interpreter..."
-falderal test -f 'Interpret Crabwell Program:shell command "script/tower.sh dialect/crabwell.pix %(test-file)"' dialect/crabwell.falderal
+falderal test tests/config/Crabwell-as-Crabwell.markdown dialect/crabwell.falderal

File tests/config/Crabwell-as-Crabwell.markdown

+Testing Crabwell programs on Crabwell interpreter
+
+    -> Functionality "Interpret Crabwell Program" is implemented by shell command
+    -> "script/tower.sh dialect/crabwell.pix %(test-file)"

File tests/config/Pifxley-as-Pifxley.markdown

+Testing Pifxley programs on Pifxley interpreter in Pifxley
+
+    -> Functionality "Interpret Pifxley Program" is implemented by shell command
+    -> "script/tower.sh dialect/pifxley.pifx %(test-file)"

File tests/config/Pifxley-as-Scheme.markdown

+Testing Pifxley programs as Scheme programs
+
+    -> Functionality "Interpret Pifxley Program" is implemented by shell command
+    -> "script/tower.sh %(test-file)"

File tests/config/Pixley-as-Pixley.markdown

+Testing Pixley programs on Pixley reference interpreter
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh src/pixley.pix %(test-file)"

File tests/config/Pixley-as-Pixley^2.markdown

+Testing Pixley programs on Pixley interpreter on Pixley interpreter
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh src/pixley.pix src/pixley.pix %(test-file)"

File tests/config/Pixley-as-Pixley^3.markdown

+Testing Pixley programs on Pixley interpreter on Pixley interpreter on Pixley interpreter
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh src/pixley.pix src/pixley.pix src/pixley.pix %(test-file)"

File tests/config/Pixley-as-Pixley^4.markdown

+Testing Pixley programs on Pixley interpreter on Pixley interpreter on Pixley interpreter on Pixley interpreter
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh src/pixley.pix src/pixley.pix src/pixley.pix src/pixley.pix %(test-file)"

File tests/config/Pixley-as-Scheme.markdown

+Testing Pixley programs as Scheme programs
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh %(test-file)"

File tests/config/Pixley-on-Crabwell.markdown

+Testing Pixley programs on Crabwell interpreter
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh dialect/crabwell.pix %(test-file)"

File tests/config/Pixley-on-P-Normal-Pixley.markdown

+Testing Pixley programs on P-Normalized Pixley interpreter
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh src/p-normal-pixley.pix %(test-file)"

File tests/config/Pixley-on-Pifxley.markdown

+Testing Pixley programs on Pixley interpreter in Pifxley
+
+    -> Functionality "Interpret Pixley Program" is implemented by shell command
+    -> "script/tower.sh dialect/pixley.pifx %(test-file)"