You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using following command to run test and login to test machine: tmt run --all -vvv provision --how minute --image rhel8 test --name . login
Test run ok. After login, I'm in following directory:
/var/tmp/tmt/run-018/plans/all/tree/
Naturally, I'm trying to run test from "tree" directory, in my case /var/tmp/tmt/run-018/plans/all/tree/integration/php-mariadb, by running runtest.sh. This is failing because test can't find requested libraries. After dicussion with @lukaszachy we found out that I have to be using /var/tmp/tmt/run-018/plans/all/discover/default/tests/integration/php-mariadb instead of tree/integration/php-mariadb directory. Running ./runtest.sh from discover directory works as expected.
So can you do cd /var/tmp/tmt/run-018/plans/all/discover/default/tests/ to be in correct directory right after login?
The text was updated successfully, but these errors were encountered:
It seems this might be related to tmt try also not entering test path after logging in. Possible ideas: with a single test, jumping to its directory; with multiple discover phases, jumping to the last one's workdir? @falconizmi volunteered to take a look.
Hi,
I'm using following command to run test and login to test machine:
tmt run --all -vvv provision --how minute --image rhel8 test --name . login
Test run ok. After login, I'm in following directory:
/var/tmp/tmt/run-018/plans/all/tree/
Naturally, I'm trying to run test from "tree" directory, in my case /var/tmp/tmt/run-018/plans/all/tree/integration/php-mariadb, by running runtest.sh. This is failing because test can't find requested libraries. After dicussion with @lukaszachy we found out that I have to be using /var/tmp/tmt/run-018/plans/all/discover/default/tests/integration/php-mariadb instead of tree/integration/php-mariadb directory. Running ./runtest.sh from discover directory works as expected.
So can you do cd /var/tmp/tmt/run-018/plans/all/discover/default/tests/ to be in correct directory right after login?
The text was updated successfully, but these errors were encountered: