scripts:test.sh: fail upon exit code, and print stuff
This commit is contained in:
parent
e9c7a3b99e
commit
86ec6f43cb
@ -1,5 +1,9 @@
|
||||
#! /usr/bin/sh
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
export MANIFEST_PATH="org.gnome.PodcastsDevel.json"
|
||||
export FLATPAK_MODULE="gnome-podcasts"
|
||||
export CONFIGURE_ARGS="-Dprofile=development"
|
||||
@ -28,9 +32,9 @@ xvfb-run -a -s "-screen 0 1024x768x24" \
|
||||
--env=CARGO_TARGET_DIR="target_test/" \
|
||||
--env=RUSTFLAGS="" \
|
||||
app ${MANIFEST_PATH} \
|
||||
cargo test -j 1 -- --test-threads=1
|
||||
cargo test -j 1 -- --test-threads=1 --nocapture
|
||||
|
||||
# Create a flatpak bundle
|
||||
# flatpak-builder --finish-only app ${MANIFEST_PATH}
|
||||
# flatpak build-export repo app
|
||||
# flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
|
||||
# flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user