Skip to content

Commit

Permalink
temp changes
Browse files Browse the repository at this point in the history
Signed-off-by:
Purna Pavan Chandra Aekkaladevi <[email protected]>
  • Loading branch information
pupacha committed Apr 22, 2024
1 parent dad55fc commit 9ea3aa9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion scripts/dev_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ CLH_BUILD_DIR="${CLH_ROOT_DIR}/build"
CLH_CARGO_TARGET="${CLH_BUILD_DIR}/cargo_target"
CLH_DOCKERFILE="${CLH_SCRIPTS_DIR}/../resources/Dockerfile"
CLH_CTR_BUILD_DIR="/tmp/cloud-hypervisor/ctr-build"
CLH_INTEGRATION_WORKLOADS="${HOME}/workloads"
# CLH_INTEGRATION_WORKLOADS="${HOME}/workloads"
CLH_INTEGRATION_WORKLOADS="/datadrive/WORK/workloads"

# Container paths
CTR_CLH_ROOT_DIR="/cloud-hypervisor"
Expand Down
28 changes: 14 additions & 14 deletions scripts/run_integration_tests_x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,19 +178,19 @@ RES=$?

# Run some tests in sequence since the result could be affected by other tests
# running in parallel.
if [ $RES -eq 0 ]; then
export RUST_BACKTRACE=1
time cargo test $test_features "common_sequential::$test_filter" -- --test-threads=1 ${test_binary_args[*]}
RES=$?
fi

# Run tests on dbus_api
if [ $RES -eq 0 ]; then
cargo build --features "mshv,dbus_api" --all --release --target "$BUILD_TARGET"
export RUST_BACKTRACE=1
# integration tests now do not reply on build feature "dbus_api"
time cargo test $test_features "dbus_api::$test_filter" -- ${test_binary_args[*]}
RES=$?
fi
# if [ $RES -eq 0 ]; then
# export RUST_BACKTRACE=1
# time cargo test $test_features "common_sequential::$test_filter" -- --test-threads=1 ${test_binary_args[*]}
# RES=$?
# fi

# # Run tests on dbus_api
# if [ $RES -eq 0 ]; then
# cargo build --features "mshv,dbus_api" --all --release --target "$BUILD_TARGET"
# export RUST_BACKTRACE=1
# # integration tests now do not reply on build feature "dbus_api"
# time cargo test $test_features "dbus_api::$test_filter" -- ${test_binary_args[*]}
# RES=$?
# fi

exit $RES

0 comments on commit 9ea3aa9

Please sign in to comment.