Use sub-shells instead of pushd / popd.
The push and pop commands print the directory stack to stdout, while subshells and cd is quiet.
This commit is contained in:
@@ -21,10 +21,11 @@ PKGS="libcretonne libreader tools"
|
|||||||
echo ====== Rust unit tests and debug builds ======
|
echo ====== Rust unit tests and debug builds ======
|
||||||
for PKG in $PKGS
|
for PKG in $PKGS
|
||||||
do
|
do
|
||||||
pushd $topdir/src/$PKG
|
(
|
||||||
|
cd $topdir/src/$PKG
|
||||||
cargo test
|
cargo test
|
||||||
cargo build
|
cargo build
|
||||||
popd
|
)
|
||||||
done
|
done
|
||||||
|
|
||||||
# Build cton-util for parser testing.
|
# Build cton-util for parser testing.
|
||||||
|
|||||||
Reference in New Issue
Block a user