Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions docker/run_mem_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

18 changes: 3 additions & 15 deletions docker/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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