summaryrefslogtreecommitdiffstats
path: root/scripts/qt/qtmod_test.pl
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-05-01 10:26:13 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-01 04:56:07 +0200
commit31e53bb861eb64ce94c4c1349ac14603f92a6155 (patch)
treed69c7024680ac0f95b1708977a39bf4cda5ea853 /scripts/qt/qtmod_test.pl
parent85703782bdd3b2af25e07034d932f328c5baa39a (diff)
qtmod_test: revdep: fixed qt.gitmodule.dir pointing to non-revdep dir
When doing a revdep test, we were redirecting the build directory to the revdep module's directory, but forgetting to do the same for the source directory. This caused the qtqa autotests to be run over the wrong module in revdep builds. Change-Id: I4f415033356d62ba592619edde7ef1b5fff955f2 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'scripts/qt/qtmod_test.pl')
-rwxr-xr-xscripts/qt/qtmod_test.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qt/qtmod_test.pl b/scripts/qt/qtmod_test.pl
index b0f8b617..6945f9b5 100755
--- a/scripts/qt/qtmod_test.pl
+++ b/scripts/qt/qtmod_test.pl
@@ -667,6 +667,7 @@ sub maybe_enter_revdep_context
print __PACKAGE__ . ": $what\n";
$self->{ 'qt.gitmodule' } = $qt_revdep_gitmodule;
+ $self->{ 'qt.gitmodule.dir' } = catfile( $self->{'qt.dir'}, $self->{'qt.gitmodule'} );
$self->{ 'qt.gitmodule.build.dir' } = catfile( $self->{'qt.build.dir'}, $self->{'qt.gitmodule'} );
return $self->doing( $what );