From 31e53bb861eb64ce94c4c1349ac14603f92a6155 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 1 May 2012 10:26:13 +1000 Subject: 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 --- scripts/qt/qtmod_test.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/qt/qtmod_test.pl') 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 ); -- cgit v1.2.3