Run CI tests with RUST_BACKTRACE=1 (fixes #39)
This commit is contained in:
parent
3f833faf3b
commit
12f2ad005c
1 changed files with 13 additions and 15 deletions
|
@ -117,10 +117,10 @@ run_cardtest_smartpgp:
|
||||||
script:
|
script:
|
||||||
- /etc/init.d/pcscd start
|
- /etc/init.d/pcscd start
|
||||||
- su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim
|
- su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim
|
||||||
- cargo run -p openpgp-card-tools --bin opgpcard -- status
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- status
|
||||||
- cargo run -p openpgp-card-tools --bin opgpcard -- info
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- info
|
||||||
- cargo run -p openpgp-card-tests --bin import -- $CONFIG
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tests --bin import -- $CONFIG
|
||||||
- cargo run -p openpgp-card-tests --bin keygen -- $CONFIG
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tests --bin keygen -- $CONFIG
|
||||||
variables:
|
variables:
|
||||||
CONFIG: "card-functionality/ci/virt-smartpgp.toml"
|
CONFIG: "card-functionality/ci/virt-smartpgp.toml"
|
||||||
cache:
|
cache:
|
||||||
|
@ -136,10 +136,10 @@ run_cardtest_ykneo:
|
||||||
script:
|
script:
|
||||||
- /etc/init.d/pcscd start
|
- /etc/init.d/pcscd start
|
||||||
- su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim
|
- su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim
|
||||||
- cargo run -p openpgp-card-tools --bin opgpcard -- status
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- status
|
||||||
- cargo run -p openpgp-card-tools --bin opgpcard -- info
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- info
|
||||||
- cargo run -p openpgp-card-tests --bin import -- $CONFIG
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tests --bin import -- $CONFIG
|
||||||
- cargo run -p openpgp-card-tests --bin keygen -- $CONFIG
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tests --bin keygen -- $CONFIG
|
||||||
variables:
|
variables:
|
||||||
CONFIG: "card-functionality/ci/virt-ykneo.toml"
|
CONFIG: "card-functionality/ci/virt-ykneo.toml"
|
||||||
cache:
|
cache:
|
||||||
|
@ -155,10 +155,10 @@ run_cardtest_fluffypgp:
|
||||||
script:
|
script:
|
||||||
- /etc/init.d/pcscd start
|
- /etc/init.d/pcscd start
|
||||||
- su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim
|
- su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim
|
||||||
- cargo run -p openpgp-card-tools --bin opgpcard -- status
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- status
|
||||||
- cargo run -p openpgp-card-tools --bin opgpcard -- info
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- info
|
||||||
- cargo run -p openpgp-card-tests --bin import -- $CONFIG
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tests --bin import -- $CONFIG
|
||||||
- cargo run -p openpgp-card-tests --bin keygen -- $CONFIG
|
- RUST_BACKTRACE=1 cargo run -p openpgp-card-tests --bin keygen -- $CONFIG
|
||||||
variables:
|
variables:
|
||||||
CONFIG: "card-functionality/ci/virt-fluffypgp.toml"
|
CONFIG: "card-functionality/ci/virt-fluffypgp.toml"
|
||||||
cache:
|
cache:
|
||||||
|
@ -204,9 +204,7 @@ hardware-builddeps:
|
||||||
- "card-functionality/ci/nitro-pro2.toml"
|
- "card-functionality/ci/nitro-pro2.toml"
|
||||||
- "card-functionality/ci/nitro-start.toml"
|
- "card-functionality/ci/nitro-start.toml"
|
||||||
script:
|
script:
|
||||||
#- /etc/init.d/pcscd start
|
- RUST_BACKTRACE=1 RUST_LOG=debug cargo run --bin $ARG -- $CONFIG
|
||||||
#- sleep 5
|
|
||||||
- RUST_LOG=debug cargo run --bin $ARG -- $CONFIG
|
|
||||||
cache:
|
cache:
|
||||||
# inherit all general cache settings
|
# inherit all general cache settings
|
||||||
<<: *general_cache_config
|
<<: *general_cache_config
|
||||||
|
|
Loading…
Reference in a new issue