From 6a8d51b48ee62e2fea7ea8710ebe0d5895b1d537 Mon Sep 17 00:00:00 2001 From: Roland Mas Date: Thu, 28 Jun 2012 19:14:23 +0000 Subject: [PATCH] Refresh Selenium jar if needed --- tests/scripts/fusionforge-build-and-test-deb.sh | 1 + tests/scripts/fusionforge-build-and-test-rpm.sh | 1 + tests/scripts/fusionforge-build-and-test-src-cos.sh | 1 + tests/scripts/fusionforge-build-and-test-src-deb.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/scripts/fusionforge-build-and-test-deb.sh b/tests/scripts/fusionforge-build-and-test-deb.sh index ab4b241..2b7f854 100755 --- a/tests/scripts/fusionforge-build-and-test-deb.sh +++ b/tests/scripts/fusionforge-build-and-test-deb.sh @@ -100,6 +100,7 @@ ssh root@$HOST "invoke-rc.d cron stop" || true # Install selenium tests ssh root@$HOST mkdir $FORGE_HOME/tests +make -C 3rd-party/selenium selenium-server.jar cp 3rd-party/selenium/selenium-server.jar tests/ rsync -a --delete tests/ root@$HOST:$FORGE_HOME/tests/ diff --git a/tests/scripts/fusionforge-build-and-test-rpm.sh b/tests/scripts/fusionforge-build-and-test-rpm.sh index 7238559..ced0fcb 100755 --- a/tests/scripts/fusionforge-build-and-test-rpm.sh +++ b/tests/scripts/fusionforge-build-and-test-rpm.sh @@ -28,6 +28,7 @@ ssh root@$HOST "service crond stop" || true # Install selenium tests ssh root@$HOST mkdir $FORGE_HOME/tests +make -C 3rd-party/selenium selenium-server.jar cp 3rd-party/selenium/selenium-server.jar tests/ rsync -a --delete tests/ root@$HOST:$FORGE_HOME/tests/ diff --git a/tests/scripts/fusionforge-build-and-test-src-cos.sh b/tests/scripts/fusionforge-build-and-test-src-cos.sh index bd33678..7aaa3e9 100755 --- a/tests/scripts/fusionforge-build-and-test-src-cos.sh +++ b/tests/scripts/fusionforge-build-and-test-src-cos.sh @@ -42,6 +42,7 @@ echo "Stop cron daemon" ssh root@$HOST "service crond stop" || true # Copy selenium +make -C 3rd-party/selenium selenium-server.jar rsync -a 3rd-party/selenium/selenium-server.jar root@$HOST:$FORGE_HOME/tests/selenium-server.jar # Run tests diff --git a/tests/scripts/fusionforge-build-and-test-src-deb.sh b/tests/scripts/fusionforge-build-and-test-src-deb.sh index 081116a..693127c 100755 --- a/tests/scripts/fusionforge-build-and-test-src-deb.sh +++ b/tests/scripts/fusionforge-build-and-test-src-deb.sh @@ -46,6 +46,7 @@ echo "Stop cron daemon" ssh root@$HOST "service crond stop" || true # Copy selenium +make -C 3rd-party/selenium selenium-server.jar rsync -a 3rd-party/selenium/selenium-server.jar root@$HOST:$FORGE_HOME/tests/selenium-server.jar # Run tests -- 2.1.4