[mutter/wip/lantw/suppress-core-dumped-messages] tests: Don't show 'core dumped' messages



commit 8303bace54f76e8994d9fddb29fdb9dd6d78241e
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Dec 10 21:38:21 2018 +0800

    tests: Don't show 'core dumped' messages

 cogl/tests/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cogl/tests/run-tests.sh b/cogl/tests/run-tests.sh
index 94feb35e1..6934bccd6 100755
--- a/cogl/tests/run-tests.sh
+++ b/cogl/tests/run-tests.sh
@@ -65,7 +65,7 @@ get_status()
 
 run_test()
 {
-  "$TEST_BINARY" "$1" &>.log
+  $("$TEST_BINARY" "$1" &>.log)
   TMP=$?
   var_name=$2_result
   eval "$var_name=$TMP"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]