Skip to content

Commit

Permalink
build_all_repos: set the QUATTOR_TEST_TEMPLATE_LIBRARY_CORE also in t…
Browse files Browse the repository at this point in the history
…he env.sh (so you can also run the tests on repositories that are checked out elsewhere)
  • Loading branch information
stdweird committed Mar 11, 2015
1 parent 7747337 commit bfc087e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/scripts/build_all_repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ ORIGPERL5LIB=$PERL5LIB

# repository dir
REPOSITORY=$DEST/repos
# a checkout in the same base directory is default (but lets set this anyway)
export QUATTOR_TEST_TEMPLATE_LIBRARY_CORE=$REPOSITORY/template-library-core



if [ ! -z "$VERBOSE" ]; then
# verbose tests
Expand Down Expand Up @@ -769,7 +773,9 @@ function main_init () {
cat > $DEST/env.sh <<EOF
# Source this file to get the proper environment
export PERL5LIB=$INSTALLPERL
export QUATTOR_TEST_TEMPLATE_LIBRARY_CORE=$QUATTOR_TEST_TEMPLATE_LIBRARY_CORE
EOF

}

function main() {
Expand Down Expand Up @@ -844,8 +850,6 @@ function main() {

# The tests require access to core templates
git_repo template-library-core
# a checkout in the same base directory is default (but lets set this anyway)
export QUATTOR_TEST_TEMPLATE_LIBRARY_CORE=$REPOSITORY/template-library-core

# test the maven-tools build scripts repo separately (can't package it)
for repo in $REPOS_MVN_TESTONLY_ORDERED; do
Expand Down

0 comments on commit bfc087e

Please sign in to comment.