mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 11:45:05 +01:00
fopen and tests
This commit is contained in:
parent
862ef8dc22
commit
b795ee80c9
14 changed files with 97 additions and 45 deletions
|
|
@ -10,7 +10,7 @@ clean() {
|
|||
rm -r "${test_dir}"
|
||||
}
|
||||
|
||||
for test in tests/c/*; do
|
||||
for test in "$SCRIPT_DIR"/tests/c/*; do
|
||||
name=$(basename $test .c)
|
||||
printf "test $name "
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ for test in tests/c/*; do
|
|||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
cd "$SCRIPT_DIR/tests"
|
||||
OUTPUT=$("$test_dir/$name")
|
||||
code="$?"
|
||||
if [ "$code" -ne "0" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue