diff options
author | eutarass | 2010-09-13 21:19:18 +0000 |
---|---|---|
committer | eutarass | 2010-09-13 21:19:18 +0000 |
commit | 189ddf30ec2d4e79d84f6c8d192d9cfd9190aab1 (patch) | |
tree | cd73aba463a66bd97af861e2fe2ae469b69e66ff | |
parent | f8018e31af0d3d717c394770d257d14635309fba (diff) | |
download | org.eclipse.tcf-189ddf30ec2d4e79d84f6c8d192d9cfd9190aab1.tar.gz org.eclipse.tcf-189ddf30ec2d4e79d84f6c8d192d9cfd9190aab1.tar.xz org.eclipse.tcf-189ddf30ec2d4e79d84f6c8d192d9cfd9190aab1.zip |
TCF Agent: Fixed: compilation errors when compiled as C++ on Windows. Added testing of binaries built with MS Windows C++ compiler.
-rwxr-xr-x | tests/test-all | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-all b/tests/test-all index fd655f194..0adb1309d 100755 --- a/tests/test-all +++ b/tests/test-all @@ -213,6 +213,13 @@ function get_make_options() echo "OPSYS=$OPSYS CONF=$CONF CC=g++ 'CFLAGS=-Werror $CFLAGS'" fi ;; + msvc++) + if [ -z "$CFLAGS" ] ; then + echo "OPSYS=$OPSYS CONF=$CONF 'CFLAGS=-x c++'" + else + echo "OPSYS=$OPSYS CONF=$CONF 'CFLAGS=-x c++ $CFLAGS'" + fi + ;; *) if [ -z "$CFLAGS" ] ; then echo "OPSYS=$OPSYS CONF=$CONF" |