From 0ef28f5bde0138ddff63291a0d9f8b2bc6536170 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 29 Jul 2016 12:35:56 -0700 Subject: [PATCH] Use sub-shells instead of pushd / popd. The push and pop commands print the directory stack to stdout, while subshells and cd is quiet. --- cranelift/test-all.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cranelift/test-all.sh b/cranelift/test-all.sh index 7ddd65a21d..28013ec2e3 100755 --- a/cranelift/test-all.sh +++ b/cranelift/test-all.sh @@ -21,10 +21,11 @@ PKGS="libcretonne libreader tools" echo ====== Rust unit tests and debug builds ====== for PKG in $PKGS do - pushd $topdir/src/$PKG + ( + cd $topdir/src/$PKG cargo test cargo build - popd + ) done # Build cton-util for parser testing.