We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to pass some data to my test, like this
env.BuildTest('my_test', 'my_test.cpp', data = 'testData.txt')
I was expecting the test program to be executed with the testData.txt passed on the command line
But the test program is just executed with no command line argument.
Is that supposed to happen? If so, what is the purpose of the data argument in env.Test()/BuildTest() ?
This is the output
Progress( SconstructBegin ) Progress( Begin sconscript: [./src/SConscript] ) Progress( Starting variant: [_build/src/gcc62/dbg/x86_64/c++1z] ) RunProcessTest(["_build/src/gcc62/dbg/x86_64/c++1z/final/my_test.stdout.log", "_build/src/gcc62/dbg/x86_64/c++1z/final/my_test.stderr.log", "_build/src/gcc62/dbg/x86_64/c++1z/final/my_test.report.json", "_build/src/gcc62/dbg/x86_64/c++1z/final/my_test.success"], ["_build/src/gcc62/dbg/x86_64/c++1z/final/my_test", "src/testData.txt"]) Starting Test Suite [_build/src/gcc62/dbg/x86_64/c++1z/working] Test [my_test]... cuppa: ProcessTest: Test returned with error code: 1 = FAILED = Time: Wall [ 00:00:00.006,220,032 ] CPU [ 00:00:00.010,000,000 ] CPU/Wall [ 160.77% ] Progress( Finished variant: [_build/src/gcc62/dbg/x86_64/c++1z] )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to pass some data to my test, like this
I was expecting the test program to be executed with the testData.txt passed on the command line
But the test program is just executed with no command line argument.
Is that supposed to happen? If so, what is the purpose of the data argument in env.Test()/BuildTest() ?
This is the output
The text was updated successfully, but these errors were encountered: