1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh cd tests ./api-c if [ $? -eq 0 ]; then echo 'PASS: api-c' else echo 'FAIL: api-c' fi ./test_c_symbols-c if [ $? -eq 0 ]; then echo 'PASS: test_c_symbols-c' else echo 'FAIL: test_c_symbols-c' fi