Carl Worth | e8c790b | 2010-05-10 16:21:10 -0700 | [diff] [blame] | 1 | #!/bin/sh |
Carl Worth | 3ff8167 | 2010-05-25 13:09:03 -0700 | [diff] [blame] | 2 | |
Carl Worth | e8c790b | 2010-05-10 16:21:10 -0700 | [diff] [blame] | 3 | for test in *.c; do |
4 | echo "Testing $test" | ||||
Carl Worth | 5ae88af | 2010-06-02 15:59:45 -0700 | [diff] [blame] | 5 | ../glcpp < $test > $test.out |
Carl Worth | baa17c8 | 2010-05-27 14:53:51 -0700 | [diff] [blame] | 6 | diff -u $test.expected $test.out |
Carl Worth | e8c790b | 2010-05-10 16:21:10 -0700 | [diff] [blame] | 7 | done |