From 8b778f22b083cc72f7940471d0b57b78a808cb26 Mon Sep 17 00:00:00 2001 From: Aleksandr Semenov Date: Sat, 11 Nov 2023 17:12:01 +0300 Subject: [PATCH] Extend test output Signed-off-by: Aleksandr Semenov --- ets2panda/test/tsconfig/test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ets2panda/test/tsconfig/test.sh b/ets2panda/test/tsconfig/test.sh index 6404a6cdeb..de72f78387 100755 --- a/ets2panda/test/tsconfig/test.sh +++ b/ets2panda/test/tsconfig/test.sh @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -e +set -xe SCRIPT_DIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")")" @@ -45,10 +45,10 @@ rm -rf "$BUILD" ACTUAL=$(mktemp /tmp/actual.XXXXXX) STDLIB="$PANDA_ROOT/plugins/ets/stdlib" CMD="$PANDA_RUN_PREFIX $ES2PANDA --stdlib=$STDLIB --arktsconfig=$TSCONFIG" -$CMD 2> /dev/null -pushd "$TSCONFIG_DIR" &> /dev/null +$CMD +pushd "$TSCONFIG_DIR" find . -type f -name '*abc' | sort --version-sort > "$ACTUAL" -popd &> /dev/null +popd set +e /usr/bin/diff "$EXPECTED" "$ACTUAL" -- Gitee