Skip to content

Commit

Permalink
Remove testfiles from gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinMeimar committed Jul 28, 2024
1 parent e33c1f5 commit 94e7363
Show file tree
Hide file tree
Showing 53 changed files with 658 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ cmake-build*/

#misc
todo.md
tests/testfiles/
local_tests
tests/timed_tests/
tests/dev_tests/
15 changes: 15 additions & 0 deletions tests/testfiles/ExpectedFail/tests/000_nl.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include <stdio.h>

/// This will fail since there is an extra newline emitted.
/// The expected file will have 5 bytes, the generated will have 6

int main() {

printf("a\nb\nc\n");

return 0;
}

//CHECK:a
//CHECK:b
//CHECK:c
10 changes: 10 additions & 0 deletions tests/testfiles/ExpectedFail/tests/001_space.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include <stdio.h>

int main() {

printf("print\n ");
return 0;
}

// CHECK:print
// CHECK:
13 changes: 13 additions & 0 deletions tests/testfiles/ExpectedFail/tests/002_error.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include <stdio.h>

#define CUSTOM_COMPILE_TIME_ERROR 1

int main() {
#if CUSTOM_COMPILE_TIME_ERROR
printf("CompileTimeError on line 7: this is some text after.");
exit(1);
#endif
return 0;
}

//CHECK:CompileTimeError on line 6:
8 changes: 8 additions & 0 deletions tests/testfiles/ExpectedFail/tests/003_error.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include <stdio.h>

int main() {

fprintf(stderr, "TypeError on line 5: This is an error!");
exit(1);
return 0;
}
1 change: 1 addition & 0 deletions tests/testfiles/MultiExe/TA/000_ta.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
int main() { return 0; }
1 change: 1 addition & 0 deletions tests/testfiles/MultiExe/TA/001_ta.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
int main() { return 0; }
1 change: 1 addition & 0 deletions tests/testfiles/MultiExe/TA/002_ta.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
int main() { return 0; }
17 changes: 17 additions & 0 deletions tests/testfiles/MultiExe/team1/001.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <stdio.h>
#include <stdlib.h>

// INPUT:abc

int main() {
char c[3];
scanf("%c", &c[0]);
scanf("%c", &c[1]);
scanf("%c", &c[2]);

printf("%c%c%c", c[2], c[1], c[0]);

return 0;
}

// CHECK:cba
7 changes: 7 additions & 0 deletions tests/testfiles/MultiExe/team1/002.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

// INPUT:abc
int main() {

return 0;
}

6 changes: 6 additions & 0 deletions tests/testfiles/MultiExe/team1/003_timeout.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <sys/wait.h>

int main() {
sleep(10);
return 0;
}
23 changes: 23 additions & 0 deletions tests/testfiles/MultiExe/team1/004_error.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Instead of acutally throwing a runtime C error, whose format does not align with
* how the tester parses error tests, emulate the Gazprea spec.
*/

#include <stdio.h>

#define EXIT_DIVIDE_BY_ZERO 2

int main() {
int a = 1;
int b = 0;
if (b != 0) {
int c = a / b;
} else {
fprintf(stderr, "DivideByZeroError: a was about to be divided by 0!");
exit(EXIT_DIVIDE_BY_ZERO);
}

return 0;
}

//CHECK:DivideByZeroError:
5 changes: 5 additions & 0 deletions tests/testfiles/MultiExe/team2/001_mismatch.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
int main() {
return 0;
}

//CHECK:123
3 changes: 3 additions & 0 deletions tests/testfiles/MultiExe/team2/002.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
int main() {
return 0;
}
6 changes: 6 additions & 0 deletions tests/testfiles/MultiExe/team3/001.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <sys/wait.h>
int main() {

sleep(1); // short enough not to timeout
return 0;
}
22 changes: 22 additions & 0 deletions tests/testfiles/MultiExe/timed_tests/001.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#include <stdio.h>
#include <stdlib.h>

// INPUT:abc

int main() {
char c[3];
scanf("%c", &c[0]);
scanf("%c", &c[1]);
scanf("%c", &c[2]);

printf("%c%c%c", c[2], c[1], c[0]);

int i = 0;
for (int i = 0; i < 1000000; i++) {
i++;
}

return 0;
}

// CHECK:cba
21 changes: 21 additions & 0 deletions tests/testfiles/MultiExe/timed_tests/002.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include <sys/wait.h>

#define iter 100000000

int main() {
int j = 0;
for(int i = 0; i < iter; i++) {
if (j + i -1 < 0xffff) {
j += i;
}
}

sleep(1);

int i = 0;
for (int i = 0; i < 1000000; i++) {
i++;
}

return (j < 0xffffffff);
}
22 changes: 22 additions & 0 deletions tests/testfiles/MultiExe/timed_tests/003_timeout.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#include <sys/wait.h>

int main() {
int j = 0;
for(int i = 0; i < 1000000; i++) {
if (j + i -1 < 0xFFFF) {
j += i;
}
}

int i = 0;
for (int i = 0; i < 10000000; i++) {
i++;
}

sleep(2);

printf("123");
return 0;
}

// CHECK:123
23 changes: 23 additions & 0 deletions tests/testfiles/MultiExe/timed_tests/004_error.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Instead of acutally throwing a runtime C error, whose format does not align with
* how the tester parses error tests, emulate the Gazprea spec.
*/

#include <stdio.h>

#define EXIT_DIVIDE_BY_ZERO 2

int main() {
int a = 1;
int b = 0;
if (b != 0) {
int c = a / b;
} else {
fprintf(stderr, "DivideByZeroError: a was about to be divided by 0!");
exit(EXIT_DIVIDE_BY_ZERO);
}

return 0;
}

//CHECK:DivideByZeroError:
28 changes: 28 additions & 0 deletions tests/testfiles/SingleExe/error_tests/001_compile_time_types.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#include <stdio.h>
#define TYPE_ERROR 0

typedef struct Apple{
char a[5];
} Apple;

typedef struct Banana {
char b[6];
} Banana ;

int main() {

Apple a = { "apple" };
Banana b = { "banana" };

#if TYPE_ERROR
a = b;
#else
// We will emulate the type error to match the Error Test Specification
fprintf(stderr, "TypeError on line 20: Assigning Banana to Apple.");
exit(1);
#endif

return 0;
}

// CHECK:TypeError on line 20
23 changes: 23 additions & 0 deletions tests/testfiles/SingleExe/error_tests/002_runtime_math.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Instead of acutally throwing a runtime C error, whose format does not align with
* how the tester parses error tests, emulate the Gazprea spec.
*/

#include <stdio.h>

#define EXIT_DIVIDE_BY_ZERO 2

int main() {
int a = 1;
int b = 0;
if (b != 0) {
int c = a / b;
} else {
fprintf(stderr, "DivideByZeroError: a was about to be divided by 0!");
exit(EXIT_DIVIDE_BY_ZERO);
}

return 0;
}

//CHECK:DivideByZeroError:
28 changes: 28 additions & 0 deletions tests/testfiles/SingleExe/error_tests/003_runtime_index.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#include <stdio.h>
#define OUT_OF_BOUNDS_ERROR 0

// INPUT:9
int main() {

char c;
scanf("%c", &c);

int x = (unsigned int)(c) - '0';
int a[5] = {1, 2, 3, 4, 5};

if (x < 5 && x >= 0) {
printf("%d", a[x]);
} else {
// We will emulate the IndexError to match "Error Test Spec" since
// C will just let us poke around.
fprintf(stderr, "IndexError: Don't do that! (The text past the first\
colon is implementation specific so is not picked up by the tester)");

exit(1);
}


return 0;
}

// CHECK:IndexError
9 changes: 9 additions & 0 deletions tests/testfiles/SingleExe/invalid_tests/001_input_exceed.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//INPUT_FILE:./in-stream/input_exceed.ins

#include <stdio.h>

int main() {
char c;
scanf("%c", &c);
printf("%c\n", c);
}
9 changes: 9 additions & 0 deletions tests/testfiles/SingleExe/invalid_tests/002_output_exceed.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//CHECK_FILE:./out-stream/output_exceed.out

#include <stdio.h>

int main() {
for (int i = 0; i < 1026; i++) {
printf("%c", 'a');
}
}
5 changes: 5 additions & 0 deletions tests/testfiles/SingleExe/invalid_tests/003_file_errror.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// INPUT_FILE:./dne.ins

int main() {
return 0;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// INPUT:a
// INPUT_FILE:input_exceed.ins

int main() {
return 0;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
int main()
{
printf("%c", 'a');
return 0;
}

// CHECK:a
// CHECK_FILE:output_exceed.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab
7 changes: 7 additions & 0 deletions tests/testfiles/SingleExe/valid_tests/000_empty.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
int main() {

if (1)
exit(0);

return 0;
}
Loading

0 comments on commit 94e7363

Please sign in to comment.