[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] add TUI_DEBUG option to run-unit-test.sh for gdb --tui option.

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:20:01 JST 2012


Tetsuro IKEDA	2010-01-08 15:13:41 +0900 (Fri, 08 Jan 2010)

  New Revision: aa9b9092a1c8104f80e384da82dbe52a65a90a6c
  https://github.com/mroonga/mroonga/commit/aa9b9092a1c8104f80e384da82dbe52a65a90a6c

  Log:
    add TUI_DEBUG option to run-unit-test.sh for gdb --tui option.

  Modified files:
    test/run-unit-test.sh

  Modified: test/run-unit-test.sh (+5 -1)
===================================================================
--- test/run-unit-test.sh    2009-10-29 20:11:36 +0900 (61e1a23)
+++ test/run-unit-test.sh    2010-01-08 15:13:41 +0900 (f28c669)
@@ -15,7 +15,11 @@ export CUTTER
 CUTTER_ARGS=
 CUTTER_WRAPPER=
 if test x"$CUTTER_DEBUG" = x"yes"; then
-    CUTTER_WRAPPER="$top_dir/libtool --mode=execute gdb --args"
+    if test x"$TUI_DEBUG" = x"yes"; then
+        CUTTER_WRAPPER="$top_dir/libtool --mode=execute gdb --tui --args"
+    else
+        CUTTER_WRAPPER="$top_dir/libtool --mode=execute gdb --args"
+    fi
     CUTTER_ARGS="--keep-opening-modules"
 elif test x"$CUTTER_CHECK_LEAK" = x"yes"; then
     CUTTER_WRAPPER="$top_dir/libtool --mode=execute valgrind "
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index