Skip to content
Snippets Groups Projects
Commit 85766a41 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Expected output

parent 4da873ae
No related branches found
No related tags found
No related merge requests found
Showing
with 23 additions and 0 deletions
......@@ -11,6 +11,7 @@
/dup.out
/error
/fchdir
/fcntl
/fsync
/ftruncate
/ftruncate.out
......
......@@ -26,9 +26,16 @@ all: $(BINS)
clean:
rm -f $(BINS) *.out
expected: $(BINS)
mkdir -p expected
for bin in $(BINS); do "./$${bin}" test args > "expected/$${bin}.stdout" 2> "expected/$${bin}.stderr"; done
run: $(BINS)
for bin in $(BINS); do echo "# $${bin} #"; "./$${bin}" test args; done
test: $(BINS)
for bin in $(BINS); do echo "# $${bin} #"; "./$${bin}" test args; done
GCCHEAD=\
-nostdinc \
-nostdlib \
......
malloc 0x55ac6c472618
calloc 0x55ac6c472618
./args test args
-3.14
-42
555
1234567890
-42
555
1234567890
brk exited with status code 0
initial cwd: /home/jeremy/Projects/relibc/tests
final cwd: /home/jeremy/Projects/relibc
Success: 0
fd 4 duped into fd 5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment