We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2d8208 commit 945e74cCopy full SHA for 945e74c
1 file changed
test/install/install_test.sh
@@ -28,12 +28,10 @@ unset RUNFILES_DIR RUNFILES_MANIFEST_FILE TEST_SRCDIR
28
29
# Verify the binary starts and can evaluate a trivial Tcl expression.
30
echo 'puts "install_test_ok"' > test_script.tcl
31
-OUTPUT=$(./openroad -no_init -no_splash -exit test_script.tcl 2>&1)
32
-
33
-if echo "$OUTPUT" | grep -q "install_test_ok"; then
+if OUTPUT=$(./openroad -no_init -no_splash -exit test_script.tcl 2>&1) && echo "$OUTPUT" | grep -q "install_test_ok"; then
34
echo "PASS: installed binary started successfully"
35
else
36
- echo "FAIL: installed binary did not produce expected output"
+ echo "FAIL: installed binary failed to start or produced unexpected output"
37
echo "Output was: $OUTPUT"
38
exit 1
39
fi
0 commit comments