mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
tests: Make panics generate a backtrace
This will help pinpoint issues when debugging test failures. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
8b78e1221e
commit
f0082fecb9
@ -132,6 +132,7 @@ sudo setcap cap_net_admin+ep /usr/bin/qemu-system-x86_64
|
||||
|
||||
sudo adduser $USER kvm
|
||||
newgrp kvm << EOF
|
||||
export RUST_BACKTRACE=1
|
||||
cargo test --features "integration_tests"
|
||||
EOF
|
||||
RES=$?
|
||||
|
@ -17,6 +17,7 @@ sudo adduser $USER kvm
|
||||
newgrp kvm << EOF || exit 1
|
||||
for f in \$(find . -name Cargo.toml -printf '%h\n' | sort -u); do
|
||||
pushd \$f > /dev/null;
|
||||
export RUST_BACKTRACE=1
|
||||
cargo test || exit 1;
|
||||
popd > /dev/null;
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user