Move self-hosting test to use M2libc

This commit is contained in:
Jeremiah Orians 2021-02-17 21:40:59 -05:00
parent 32ef09f964
commit 5f8484e683
No known key found for this signature in database
GPG Key ID: 6B3A3F198708F894
6 changed files with 25 additions and 27 deletions

View File

@ -80,10 +80,10 @@ then
# Verify that the resulting file works
./test/results/test1000-aarch64-binary \
--architecture x86 \
-f test/common_x86/functions/file.c \
-f test/common_x86/functions/malloc.c \
-f functions/calloc.c \
-f test/common_x86/functions/exit.c \
-f M2libc/x86/Linux/unistd.h \
-f M2libc/stdlib.c \
-f M2libc/x86/Linux/fcntl.h \
-f M2libc/stdio.c \
-f functions/match.c \
-f functions/in_set.c \
-f functions/numerate_number.c \
@ -99,7 +99,6 @@ then
-f cc_core.c \
-f cc_macro.c \
-f cc.c \
--bootstrap-mode \
-o test/test1000/proof \
|| exit 5

View File

@ -80,10 +80,10 @@ then
# Verify that the resulting file works
./test/results/test1000-amd64-binary \
--architecture x86 \
-f test/common_x86/functions/file.c \
-f test/common_x86/functions/malloc.c \
-f functions/calloc.c \
-f test/common_x86/functions/exit.c \
-f M2libc/x86/Linux/unistd.h \
-f M2libc/stdlib.c \
-f M2libc/x86/Linux/fcntl.h \
-f M2libc/stdio.c \
-f functions/match.c \
-f functions/in_set.c \
-f functions/numerate_number.c \
@ -99,7 +99,6 @@ then
-f cc_core.c \
-f cc_macro.c \
-f cc.c \
--bootstrap-mode \
-o test/test1000/proof \
|| exit 5

View File

@ -79,10 +79,10 @@ then
# Verify that the resulting file works
./test/results/test1000-armv7l-binary \
--architecture x86 \
-f test/common_x86/functions/file.c \
-f test/common_x86/functions/malloc.c \
-f functions/calloc.c \
-f test/common_x86/functions/exit.c \
-f M2libc/x86/Linux/unistd.h \
-f M2libc/stdlib.c \
-f M2libc/x86/Linux/fcntl.h \
-f M2libc/stdio.c \
-f functions/match.c \
-f functions/in_set.c \
-f functions/numerate_number.c \
@ -98,7 +98,6 @@ then
-f cc_core.c \
-f cc_macro.c \
-f cc.c \
--bootstrap-mode \
-o test/test1000/proof \
|| exit 5

View File

@ -72,10 +72,10 @@ then
execve_image \
./test/results/test1000-knight-posix-binary \
--architecture x86 \
-f test/common_x86/functions/file.c \
-f test/common_x86/functions/malloc.c \
-f functions/calloc.c \
-f test/common_x86/functions/exit.c \
-f M2libc/x86/Linux/unistd.h \
-f M2libc/stdlib.c \
-f M2libc/x86/Linux/fcntl.h \
-f M2libc/stdio.c \
-f functions/match.c \
-f functions/in_set.c \
-f functions/numerate_number.c \
@ -91,7 +91,6 @@ then
-f cc_core.c \
-f cc_macro.c \
-f cc.c \
--bootstrap-mode \
-o test/test1000/proof \
>| ${TMPDIR}/image \
|| exit 4
@ -110,6 +109,10 @@ then
# Verify that the resulting file works
./test/results/test1000-knight-posix-binary \
--architecture x86 \
-f M2libc/x86/Linux/unistd.h \
-f M2libc/stdlib.c \
-f M2libc/x86/Linux/fcntl.h \
-f M2libc/stdio.c \
-f test/common_x86/functions/file.c \
-f test/common_x86/functions/malloc.c \
-f functions/calloc.c \
@ -129,7 +132,6 @@ then
-f cc_core.c \
-f cc_macro.c \
-f cc.c \
--bootstrap-mode \
-o test/test1000/proof \
|| exit 7

View File

@ -82,10 +82,10 @@ then
# Verify that the resulting file works
./test/results/test1000-x86-binary \
--architecture x86 \
-f test/common_x86/functions/file.c \
-f test/common_x86/functions/malloc.c \
-f functions/calloc.c \
-f test/common_x86/functions/exit.c \
-f M2libc/x86/Linux/unistd.h \
-f M2libc/stdlib.c \
-f M2libc/x86/Linux/fcntl.h \
-f M2libc/stdio.c \
-f functions/match.c \
-f functions/in_set.c \
-f functions/numerate_number.c \
@ -101,7 +101,6 @@ then
-f cc_core.c \
-f cc_macro.c \
-f cc.c \
--bootstrap-mode \
-o test/test1000/proof \
|| exit 5

View File

@ -1 +1 @@
7a185b3d3c099f93dd12619fae0d7f448ebe25b7f73e13e2d60c94f77ff7ee16 test/test1000/proof
6d62b2280138b5820688051f7498737dc6137fa3b694a7b470dd0366e860dcd9 test/test1000/proof