Merge branch 'master' into aarch64
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/gen/
|
||||
/alloc
|
||||
/args
|
||||
/atof
|
||||
|
||||
+25
-1
@@ -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 \
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
malloc 0x55ac6c472618
|
||||
calloc 0x55ac6c472618
|
||||
@@ -0,0 +1 @@
|
||||
./args test args
|
||||
@@ -0,0 +1 @@
|
||||
-3.14
|
||||
@@ -0,0 +1,6 @@
|
||||
-42
|
||||
555
|
||||
1234567890
|
||||
-42
|
||||
555
|
||||
1234567890
|
||||
@@ -0,0 +1 @@
|
||||
brk exited with status code 0
|
||||
@@ -0,0 +1,2 @@
|
||||
initial cwd: /home/jeremy/Projects/relibc/tests
|
||||
final cwd: /home/jeremy/Projects/relibc
|
||||
@@ -0,0 +1 @@
|
||||
Success: 0
|
||||
@@ -0,0 +1 @@
|
||||
fd 4 duped into fd 5
|
||||
@@ -0,0 +1 @@
|
||||
perror: No such file or directory
|
||||
@@ -0,0 +1 @@
|
||||
errno: 2 = No such file or directory
|
||||
@@ -0,0 +1 @@
|
||||
fchdir exited with status code 0
|
||||
@@ -0,0 +1 @@
|
||||
fd 4 duped into fd 5
|
||||
@@ -0,0 +1 @@
|
||||
fsync exited with status code 0
|
||||
@@ -0,0 +1 @@
|
||||
ftruncate exited with status code 0
|
||||
@@ -0,0 +1 @@
|
||||
egid: 1000, euid: 1000, gid: 1000, pgid: 23916, pid: 23933, ppid 23918, uid 1000
|
||||
@@ -0,0 +1,8 @@
|
||||
percent: %
|
||||
string: String
|
||||
char: c
|
||||
int: -16
|
||||
uint: 32
|
||||
hex: beef
|
||||
HEX: C0FFEE
|
||||
string: end
|
||||
@@ -0,0 +1 @@
|
||||
rmdir exited with status code 0
|
||||
@@ -0,0 +1 @@
|
||||
Hello World!
|
||||
Reference in New Issue
Block a user