diff --git a/docker/run_mem_tests.sh b/docker/run_mem_tests.sh index 8deb2d20..df70ec2f 100755 --- a/docker/run_mem_tests.sh +++ b/docker/run_mem_tests.sh @@ -6,38 +6,26 @@ echo DS3_ENDPOINT ${DS3_ENDPOINT} echo DS3_SECRET_KEY ${DS3_SECRET_KEY} echo DS3_ACCESS_KEY ${DS3_ACCESS_KEY} -echo "cd /opt" +set -x + cd /opt if [ ${GIT_BRANCH} != "master" ]; then - echo git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch else - echo git clone ${GIT_REPO} git clone ${GIT_REPO} fi -echo "cd ds3_c_sdk" cd ds3_c_sdk +git rev-parse HEAD -echo "cmake ." cmake . - -echo "make" make - -echo "make install" make install ldconfig -echo "cd test" cd test - -echo "cmake ." cmake . - -echo "make" make -echo "make mem" make mem diff --git a/docker/run_tests.sh b/docker/run_tests.sh index 32434a0a..f9b2032b 100755 --- a/docker/run_tests.sh +++ b/docker/run_tests.sh @@ -6,39 +6,27 @@ echo DS3_ENDPOINT ${DS3_ENDPOINT} echo DS3_SECRET_KEY ${DS3_SECRET_KEY} echo DS3_ACCESS_KEY ${DS3_ACCESS_KEY} -echo "cd /opt" +set -x + cd /opt if [ ${GIT_BRANCH} != "master" ]; then - echo git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch else - echo git clone ${GIT_REPO} git clone ${GIT_REPO} fi -echo "cd ds3_c_sdk" cd ds3_c_sdk +git rev-parse HEAD -echo "cmake ." cmake . - -echo "make" make - -echo "make install" make install ldconfig -echo "cd test" cd test - -echo "cmake ." cmake . - -echo "make" make -echo "make test" make test cat Testing/Temporary/LastTest.log