Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-11-19 21:58:28 +0000
committerEugene Tarassov2011-11-19 21:58:28 +0000
commitaff38eb90c2c19c4a098e87df1488cc3f6705a08 (patch)
treeb87191e845ce7429150ab4ca4c0d53f4dc1e32d4
parent0ea222247e75e36f8b5ccefabb82d2c04c7e6dec (diff)
downloadorg.eclipse.tcf-aff38eb90c2c19c4a098e87df1488cc3f6705a08.tar.gz
org.eclipse.tcf-aff38eb90c2c19c4a098e87df1488cc3f6705a08.tar.xz
org.eclipse.tcf-aff38eb90c2c19c4a098e87df1488cc3f6705a08.zip
TCF Tests: more C++ tests.
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java4
-rwxr-xr-xtests/test-all8
2 files changed, 7 insertions, 5 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
index cb5375f32..fd774a3de 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
@@ -123,8 +123,10 @@ class TestExpressions implements ITCFTest,
"(bool)0 == false",
"(bool)1 == true",
"sizeof(bool) == sizeof true",
- "tcf_cpp_test_class::s_int == 0",
+ "tcf_cpp_test_class::s_int == 1",
"sizeof tcf_cpp_test_class::s_int == sizeof signed",
+ "tcf_cpp_test_class::tcf_cpp_test_class_nested::s_int == 2",
+ "tcf_cpp_test_class_extension::tcf_cpp_test_class_nested::s_int == 2",
};
TestExpressions(TCFTestSuite test_suite, RunControl test_rc, IChannel channel) {
diff --git a/tests/test-all b/tests/test-all
index 5bbe9aa67..f2658dc2c 100755
--- a/tests/test-all
+++ b/tests/test-all
@@ -177,16 +177,16 @@ function get_make_options()
# Currently we cannot test login feature of Terminals service
case $CC in
gcc)
- OPTS="CC=gcc 'CFLAGS=-Werror -DTERMINALS_NO_LOGIN=1 $CFLAGS'"
+ OPTS="CC=gcc 'CFLAGS=-Werror -DTERMINALS_NO_LOGIN=1 -DENABLE_SignalHandlers=0 $CFLAGS'"
;;
g++)
- OPTS="CC=g++ 'CFLAGS=-Werror -DTERMINALS_NO_LOGIN=1 $CFLAGS'"
+ OPTS="CC=g++ 'CFLAGS=-Werror -DTERMINALS_NO_LOGIN=1 -DENABLE_SignalHandlers=0 $CFLAGS'"
;;
msvc++)
- OPTS="'CFLAGS=-x c++ $CFLAGS'"
+ OPTS="'CFLAGS=-x c++ -DENABLE_SignalHandlers=0 $CFLAGS'"
;;
*)
- OPTS="'CFLAGS=$CFLAGS'"
+ OPTS="'CFLAGS=-DENABLE_SignalHandlers=0 $CFLAGS'"
;;
esac
echo "OPSYS=$OPSYS CONF=$CONF $OPTS"

Back to the top