Closed SunilPaul174 closed 1 month ago
Thanks for reporting this! Could you please include the whole command you're using to invoke the test script?
./test_compiler ./compiler --chapter 1 --stage codegen
Where compiler is the rust binary i have copied target/release/<cratename>
into the repository directory of these tests
information about the machine, if it's necessary
Thanks!
The test script invokes your compiler with the --codegen
option first, before the source file name. Does your compiler driver expect --codegen
to come last? That could the issue you're seeing.
It does, i'll try restructuring it.
Thank you! After some unrelated bug fixes to the compiler, putting the option for the compiler before the file works! I'll be closing this issue now.
I'm glad you got this working! And thanks again for filing it - it pointed out a usability issue with the test script.
No problem! Thank you for your hard work.
I'm not sure if i have structured my driver wrong or something, but the program is failing tests even though when run individually, it is returning 0. The tests failed are: