-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I ran make run command at project root directory to do automatic tests, and all tests failed.
Here's the content of result.out:
make[1]: Entering directory '/home/windheart/projects/E.L.F-Executable-Loader/test'
gcc -m32 -Wall -fno-pic -o run_test.o -c run_test.c
gcc -m32 -no-pie -L.. -Wl,-Ttext-segment=0x20000000 -o run_test run_test.o -lso_loader
make -C inputs
gcc -m32 -o hello.o -c hello.S
gcc -m32 -static -no-pie -nostdlib -o hello hello.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o sum.o -c sum.c
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -O2 -o lib.o -c lib.c
gcc -m32 -static -no-pie -nostdlib -o sum sum.o lib.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o bss.o -c bss.c
gcc -m32 -static -no-pie -nostdlib -o bss bss.o lib.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o data_bss.o -c data_bss.c
gcc -m32 -static -no-pie -nostdlib -o data_bss data_bss.o lib.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o no_perm.o -c no_perm.c
gcc -m32 -static -no-pie -nostdlib -o no_perm no_perm.o lib.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o inv_perm.o -c inv_perm.c
gcc -m32 -static -no-pie -nostdlib -o inv_perm inv_perm.o lib.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o check_perm.o -c check_perm.c
gcc -m32 -static -no-pie -nostdlib -o check_perm check_perm.o lib.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o check_exec.o -c check_exec.c
gcc -m32 -static -no-pie -nostdlib -o check_exec check_exec.o lib.o
gcc -m32 -Wall -fno-pic -fno-stack-protector -g -o qsort.o -c qsort.c
gcc -m32 -static -no-pie -o qsort qsort.o
'checkpatch.pl' tool not found on your system. Skipping source check...
Please download 'checkpatch.pl' from 'https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl' and install it in your $PATH.
- Sources check...........................................failed [ 0/95]
- Test simple execution...................................failed [ 0/95]
Incorrect number of faults: got 2, expected 1 - Test hello..............................................failed [ 0/95]
Incorrect number of faults: got 3, expected 2 - Test sum................................................failed [ 0/95]
Incorrect number of faults: got 4, expected 3 - Test bss................................................failed [ 0/95]
_test/outputs/test4.out vs _test/refs/test4.ref:
--- _test/outputs/test4.out 2021-04-22 02:13:26.617432059 +0800
+++ _test/refs/test4.ref 2021-04-18 16:05:59.833455109 +0800
@@ -0,0 +1 @@
+SUCCESS
Incorrect number of faults: got 3, expected 2 - Test data and bss.......................................failed [ 0/95]
_test/outputs/test5.out vs _test/refs/test5.ref:
--- _test/outputs/test5.out 2021-04-22 02:13:26.637432605 +0800
+++ _test/refs/test5.ref 2021-04-18 16:05:59.833455109 +0800
@@ -0,0 +1 @@
+SUCCESS
Incorrect number of faults: got 4, expected 3 - Test no permissions.....................................failed [ 0/95]
Incorrect number of faults: got 3, expected 2