Return error code from tests (#137)
[debian/pforth] / .github / workflows / cmake.yml
index fcf957624fe35a805a6042572139e2c034cc44a0..61a5e28625d4513846d6095d4e1506c52600c5cc 100644 (file)
@@ -31,8 +31,9 @@ jobs:
     - name: Test
       working-directory: ${{github.workspace}}/fth
       run: |
-        ./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
-      
+        ./pforth_standalone t_corex.fth
+        ./pforth_standalone t_strings.fth
+        ./pforth_standalone t_locals.fth
+        ./pforth_standalone t_alloc.fth
+        ./pforth_standalone t_floats.fth
+        ./pforth_standalone t_file.fth