Merge branch 'master' into aarch64

This commit is contained in:
Jeremy Soller
2018-03-08 21:25:28 -07:00
committed by GitHub
44 changed files with 58 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
/gen/
/alloc
/args
/atof
+25 -1
View File
@@ -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 \
View File
+2
View File
@@ -0,0 +1,2 @@
malloc 0x55ac6c472618
calloc 0x55ac6c472618
View File
+1
View File
@@ -0,0 +1 @@
./args test args
View File
+1
View File
@@ -0,0 +1 @@
-3.14
View File
+6
View File
@@ -0,0 +1,6 @@
-42
555
1234567890
-42
555
1234567890
View File
+1
View File
@@ -0,0 +1 @@
brk exited with status code 0
View File
+2
View File
@@ -0,0 +1,2 @@
initial cwd: /home/jeremy/Projects/relibc/tests
final cwd: /home/jeremy/Projects/relibc
View File
View File
View File
+1
View File
@@ -0,0 +1 @@
Success: 0
View File
+1
View File
@@ -0,0 +1 @@
fd 4 duped into fd 5
+1
View File
@@ -0,0 +1 @@
perror: No such file or directory
+1
View File
@@ -0,0 +1 @@
errno: 2 = No such file or directory
View File
+1
View File
@@ -0,0 +1 @@
fchdir exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
fd 4 duped into fd 5
View File
+1
View File
@@ -0,0 +1 @@
fsync exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
ftruncate exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
egid: 1000, euid: 1000, gid: 1000, pgid: 23916, pid: 23933, ppid 23918, uid 1000
View File
View File
View File
View File
View File
View File
View File
+8
View File
@@ -0,0 +1,8 @@
percent: %
string: String
char: c
int: -16
uint: 32
hex: beef
HEX: C0FFEE
string: end
View File
+1
View File
@@ -0,0 +1 @@
rmdir exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
Hello World!