Fix docker exec for tests
This commit is contained in:
parent
00adc1910f
commit
d20d6988d0
@ -246,31 +246,31 @@ test_memgraph() {
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
unit)
|
unit)
|
||||||
docker exec -c "cd $BUILD_DIR && $ACTIVATE_TOOLCHAIN $$ ctest -R memgraph__unit --output-on-failure -j$threads"
|
docker exec $build_container bash -c "cd $BUILD_DIR && $ACTIVATE_TOOLCHAIN $$ ctest -R memgraph__unit --output-on-failure -j$threads"
|
||||||
;;
|
;;
|
||||||
leftover-CTest)
|
leftover-CTest)
|
||||||
docker exec -c "cd $BUILD_DIR && $ACTIVATE_TOOLCHAIN && ctest -E \"(memgraph__unit|memgraph__benchmark)\" --output-on-failure"
|
docker exec $build_container bash -c "cd $BUILD_DIR && $ACTIVATE_TOOLCHAIN && ctest -E \"(memgraph__unit|memgraph__benchmark)\" --output-on-failure"
|
||||||
;;
|
;;
|
||||||
drivers)
|
drivers)
|
||||||
docker exec -c "cd $ROOT_DIR && ./tests/drivers/run.sh"
|
docker exec $build_container bash -c "cd $ROOT_DIR && ./tests/drivers/run.sh"
|
||||||
;;
|
;;
|
||||||
integration)
|
integration)
|
||||||
docker exec -c "cd $ROOT_DIR && tests/integration/run.sh"
|
docker exec $build_container bash -c "cd $ROOT_DIR && tests/integration/run.sh"
|
||||||
;;
|
;;
|
||||||
cppcheck-and-clang-format)
|
cppcheck-and-clang-format)
|
||||||
docker exec -c "cd $ROOT_DIR/tools/github && $ACTIVATE_TOOLCHAIN && ./cppcheck_and_clang_format diff"
|
docker exec $build_container bash -c "cd $ROOT_DIR/tools/github && $ACTIVATE_TOOLCHAIN && ./cppcheck_and_clang_format diff"
|
||||||
;;
|
;;
|
||||||
stress-plain)
|
stress-plain)
|
||||||
docker exec -c "cd $ROOT_DIR/tests/stress && source ve3/bin/activate && ./continuous_integration"
|
docker exec $build_container bash -c "cd $ROOT_DIR/tests/stress && source ve3/bin/activate && ./continuous_integration"
|
||||||
;;
|
;;
|
||||||
stress-ssl)
|
stress-ssl)
|
||||||
docker exec -c "cd $ROOT_DIR/tests/stress && source ve3/bin/activate && ./continuous_integration --use-ssl"
|
docker exec $build_container bash -c "cd $ROOT_DIR/tests/stress && source ve3/bin/activate && ./continuous_integration --use-ssl"
|
||||||
;;
|
;;
|
||||||
durability)
|
durability)
|
||||||
docker exec -c "cd $ROOT_DIR/tests/stress && source ve3/bin/activate && python3 durability --num-steps 5"
|
docker exec $build_container bash -c "cd $ROOT_DIR/tests/stress && source ve3/bin/activate && python3 durability --num-steps 5"
|
||||||
;;
|
;;
|
||||||
gql-behave)
|
gql-behave)
|
||||||
docker exec -c "cd $ROOT_DIR/tests/gql_behave && $ACTIVATE_TOOLCHAIN && ./continuous_integration"
|
docker exec $build_container bash -c "cd $ROOT_DIR/tests/gql_behave && $ACTIVATE_TOOLCHAIN && ./continuous_integration"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Error: Unknown test '$1'"
|
echo "Error: Unknown test '$1'"
|
||||||
|
Loading…
Reference in New Issue
Block a user