mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
test: print the important commands to make debugging easier
This commit is contained in:
parent
b8667ee416
commit
8a8332f77e
@ -66,11 +66,13 @@ $KERNEL_APPEND \
|
||||
QEMU_OPTIONS="$QEMU_OPTIONS -initrd $INITRD"
|
||||
fi
|
||||
|
||||
$QEMU_BIN $QEMU_OPTIONS -append "$KERNEL_APPEND" $TESTDIR/rootdisk.img || return 1
|
||||
( set -x
|
||||
$QEMU_BIN $QEMU_OPTIONS -append "$KERNEL_APPEND" $TESTDIR/rootdisk.img ) || return 1
|
||||
}
|
||||
|
||||
run_nspawn() {
|
||||
../../systemd-nspawn --boot --directory=$TESTDIR/nspawn-root /usr/lib/systemd/systemd
|
||||
set -x
|
||||
../../systemd-nspawn --boot --directory=$TESTDIR/nspawn-root /usr/lib/systemd/systemd $KERNEL_APPEND
|
||||
}
|
||||
|
||||
setup_basic_environment() {
|
||||
@ -108,7 +110,7 @@ install_dmevent() {
|
||||
|
||||
install_systemd() {
|
||||
# install compiled files
|
||||
(cd $TEST_BASE_DIR/..; make DESTDIR=$initdir install)
|
||||
(cd $TEST_BASE_DIR/..; set -x; make DESTDIR=$initdir install)
|
||||
# remove unneeded documentation
|
||||
rm -fr $initdir/usr/share/{man,doc,gtk-doc}
|
||||
# we strip binaries since debug symbols increase binaries size a lot
|
||||
|
Loading…
Reference in New Issue
Block a user