Better test stuff

This commit is contained in:
MrLetsplay 2022-08-29 15:52:09 +02:00
parent 1614b19183
commit 6c2b1a0d56
10 changed files with 15 additions and 6 deletions

1
tests/System Abstraction/1/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
run

View File

@ -1,2 +1,5 @@
#!/bin/sh
gcc systemAbstractionTest1.c "../../../System Abstraction/linux/cdb_file.c" "../../../System Abstraction/linux/cdb_memroy.c" -o systemAbstractionTest1
if [ ! -d run ]; then
mkdir run
fi
gcc systemAbstractionTest1.c "../../../System Abstraction/linux/cdb_file.c" "../../../System Abstraction/linux/cdb_memroy.c" -o run/systemAbstractionTest1

View File

@ -1 +0,0 @@
Obc

1
tests/System Abstraction/2/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
run

View File

@ -1,2 +1,5 @@
#!/bin/sh
gcc -g openNewFiletest.c "../../../System Abstraction/linux/cdb_file.c" "../../../System Abstraction/linux/cdb_memroy.c" -o openNewFiletest
if [ ! -d run ]; then
mkdir run
fi
gcc -g openNewFiletest.c "../../../System Abstraction/linux/cdb_file.c" "../../../System Abstraction/linux/cdb_memroy.c" -o run/openNewFiletest

View File

@ -1 +0,0 @@
Obc

1
tests/System Abstraction/3/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
run

View File

@ -1,2 +1,5 @@
#!/bin/sh
gcc -g openTempFiletest.c "../../../System Abstraction/linux/cdb_file.c" "../../../System Abstraction/linux/cdb_memroy.c" -o openTempFiletest
if [ ! -d run ]; then
mkdir run
fi
gcc -g openTempFiletest.c "../../../System Abstraction/linux/cdb_file.c" "../../../System Abstraction/linux/cdb_memroy.c" -o run/openTempFiletest

View File

@ -1 +0,0 @@
Obc