Skip to content

Commit

Permalink
Trying to fix the integration test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratstail91 committed Oct 17, 2024
1 parent fccced1 commit 90c783f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
#CI workflows using the matrix strategy, skipping GDB if it's not supported for the platform
jobs:
run-test-cases:
if: false
continue-on-error: true
strategy:
matrix:
Expand All @@ -39,7 +40,7 @@ jobs:
run: ${{ matrix.commands.exec }}

run-test-integrations:
needs: run-test-cases
# needs: run-test-cases
continue-on-error: true
strategy:
matrix:
Expand Down
16 changes: 16 additions & 0 deletions repl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,19 @@ CmdLine parseCmdLine(int argc, const char* argv[]) {
exit(-1);
}

fprintf(stdout, TOY_CC_WARN "Debug: Parsing the infile name\n" TOY_CC_RESET);

getDirPath(cmd.infile, argv[0]);

fprintf(stdout, TOY_CC_WARN "\t%s\n" TOY_CC_RESET, cmd.infile);

APPEND(cmd.infile, argv[i]);

fprintf(stdout, TOY_CC_WARN "\t%s\n" TOY_CC_RESET, cmd.infile);

FLIPSLASH(cmd.infile);

fprintf(stdout, TOY_CC_WARN "\t%s\n" TOY_CC_RESET, cmd.infile);
}
}

Expand Down Expand Up @@ -399,6 +409,12 @@ int main(int argc, const char* argv[]) {
Toy_setErrorCallback(errorAndExitCallback);
Toy_setAssertFailureCallback(errorAndExitCallback);

//print the args
fprintf(stdout, TOY_CC_WARN "Debug: command line args\n" TOY_CC_RESET);
for (int i = 0; i < argc; i++) {
fprintf(stdout, TOY_CC_WARN "\t%s\n" TOY_CC_RESET, argv[i]);
}

//repl
if (argc == 1) {
return repl(argv[0]);
Expand Down

0 comments on commit 90c783f

Please sign in to comment.