Skip to content
Snippets Groups Projects
Unverified Commit 89259475 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge branch 'master' into aarch64

parents f83ff041 54655a4e
No related branches found
No related tags found
1 merge request!46Aarch64: Update syscall usage
Showing
with 41 additions and 1 deletion
/gen/
/alloc
/args
/atof
......
......@@ -27,7 +27,31 @@ clean:
rm -f $(BINS) *.out
run: $(BINS)
for bin in $(BINS); do echo "# $${bin} #"; "./$${bin}" test args; done
for bin in $(BINS); \
do
echo "# $${bin} #"; \
"./$${bin}" test args; \
done
expected: $(BINS)
rm -rf expected
mkdir -p expected
for bin in $(BINS); \
do \
echo "# $${bin} #"; \
"./$${bin}" test args > "expected/$${bin}.stdout" 2> "expected/$${bin}.stderr"; \
done
verify: $(BINS)
rm -rf gen
mkdir -p gen
for bin in $(BINS); \
do \
echo "# $${bin} #"; \
"./$${bin}" test args > "gen/$${bin}.stdout" 2> "gen/$${bin}.stderr"; \
diff -u "gen/$${bin}.stdout" "expected/$${bin}.stdout"; \
diff -u "gen/$${bin}.stderr" "expected/$${bin}.stderr"; \
done
GCCHEAD=\
-nostdinc \
......
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