cleaning up tests

This commit is contained in:
2022-09-06 09:22:50 +01:00
parent b8f20add66
commit 17f1dc8647
10 changed files with 116 additions and 36 deletions

View File

@@ -162,7 +162,6 @@ int main() {
{
//run each file in ../scripts/test/
int count = 15;
char* filenames[] = {
"arithmetic.toy",
"casting.toy",
@@ -170,6 +169,9 @@ int main() {
"dot-and-matrix.toy",
"functions.toy",
"imports-and-exports.toy",
"index-arrays.toy",
"index-dictionaries.toy",
"index-strings.toy",
"jumps.toy",
"jumps-in-functions.toy",
"logicals.toy",
@@ -178,10 +180,11 @@ int main() {
"long-literals.toy",
"native-functions.toy",
"panic-within-functions.toy",
"types.toy"
"types.toy",
NULL
};
for (int i = 0; i < count; i++) {
for (int i = 0; filenames[i]; i++) {
printf("Running %s\n", filenames[i]);
char buffer[128];