test: show test output (#104)
authorPhil Burk <philburk@mobileer.com>
Mon, 29 Nov 2021 01:01:37 +0000 (18:01 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Nov 2021 01:01:37 +0000 (17:01 -0800)
Also test t_locals.fth and t_alloc.fth

.github/workflows/cmake.yml

index 14a0186787efb0753cb77af3662ac42fc897019d..fcf957624fe35a805a6042572139e2c034cc44a0 100644 (file)
@@ -31,6 +31,8 @@ jobs:
     - name: Test
       working-directory: ${{github.workspace}}/fth
       run: |
-        ./pforth_standalone t_corex.fth | grep "0 failed"
-        ./pforth_standalone t_strings.fth | grep "0 failed"
+        ./pforth_standalone t_corex.fth | tee temp.txt && grep "0 failed" temp.txt
+        ./pforth_standalone t_strings.fth | tee temp.txt && grep "0 failed" temp.txt
+        ./pforth_standalone t_locals.fth | tee temp.txt && grep "0 failed" temp.txt
+        ./pforth_standalone t_alloc.fth | tee temp.txt && grep "PASSED" temp.txt