testsuite fails 15 tests
Hi,
When building release 0.6.1, testsuite fails the following tests:
FAIL! : TST_TapeCommandLine::OpenMeasurements(Send wrong path to a file) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Old individual format to new version) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Open empty file) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Open the VIT file with all know measurements (v0.3.0)) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Open the VST file with all know measurements (v0.4.0)) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Open the VST file for man ru GOST (v0.3.0).) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Open the VIT file with all know measurements (v0.3.3)) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Open the VST file with all know measurements (v0.4.2)) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Open the VST file for man ru GOST (v0.4.2).) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Broken file. Not unique name.) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Broken file. Measurement name can't be empty.) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Broken file. An empty value shouldn't break a file.) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Broken file. Invalid measurement name.) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Empty text VIT file.) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
FAIL! : TST_TapeCommandLine::OpenMeasurements(Empty text VST file.) 'exit == exitCode' returned FALSE. (The start operation timed out or an error occurred.
Comments (11)
-
repo owner -
reporter Ok, then it might be my environment that need to be educated more about where to find the freshly built libraries (since your build framework doesn't handle that). Thanks! That is possibly enough to clue me in on how to solve this...
-
repo owner You need something like this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$TRAVIS_BUILD_DIR/build/src/libs/vpropertyexplorer/bin:$TRAVIS_BUILD_DIR/build/src/libs/qmuparser/bin";
-
reporter Yeah, I already have something like that (otherwise a lot more would fail).
Odd thing (to me) is that only those 15 tests fail. My suspicion is that I need to pass those at more/different places (e.g. if those test calls ignore environment variables, perhaps when done in combination with xvfb...
-
reporter Build succeeds now, changing only how make is initiated.
Could it be that those tape tests may fail if run in parallel mode - i.e. make -j4 ?
-
repo owner Could it be that those tape tests may fail if run in parallel mode - i.e. make -j4 ?
No, i don't think so. Calling tests is not related to make -j4. It is separate command.
This is how i call tests: xvfb-run -a make --silent check TESTARGS="-silent";
It's hard to say what is wrong without actual error message.
-
reporter How would you get actual error messages?
Even without those silencing hints the build framework is by default silent. By build is patched to not silence make targets, but I am unaware how to make testsuite more verbose.
Quoting Roman Telezhynskyi (2019-01-01 17:47:22)
-
repo owner Improve test verbosity. Read from stderr to provide more information. ref
#917.→ <<cset 33a876f6910d>>
-
repo owner @jonassmedegaard, take this commit, maybe stderr contains error. Also you can try to change it to
readAllStandardOutput()
. -
repo owner Improve test verbosity. Read from stderr to provide more information. ref
#917. (grafted from 33a876f6910d456af8f6e8df34540a23cb45361c)→ <<cset a7c7dff21257>>
-
repo owner - changed status to closed
This repository has been archived. If you want to report a bug or your feature request, you need to do this in the new repository https://gitlab.com/smart-pattern/valentina. This issue ticket will be closed.
- Log in to comment
It looks like test suite cannot start tape binary.