summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
-rwxr-xr-xtests/wrapper-compiler-errors14
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index cb34306..26d1c02 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,6 @@
# Tests are implemented as a series of example C files, each of which should
-# compile successfully without gnome-clang, and which should fail compilation
-# with gnome-clang (and -Werror).
+# compile successfully without Tartan, and which should fail compilation
+# with Tartan (and -Werror).
TEST_EXTENSIONS = .c
C_LOG_COMPILER = $(top_srcdir)/tests/wrapper-compiler-errors
diff --git a/tests/wrapper-compiler-errors b/tests/wrapper-compiler-errors
index 50df963..38eaaa0 100755
--- a/tests/wrapper-compiler-errors
+++ b/tests/wrapper-compiler-errors
@@ -16,20 +16,20 @@
# The wrapper script takes each section and wraps the code in a main() function
# with some standard variables and reference count handling provided by the
# named template. It then compiles
-# the code using Clang with gnome-clang, and checks the compiler output against
+# the code using Clang with Tartan, and checks the compiler output against
# the expected error message. If the expected error message is ‘No error’ it
# asserts there’s no error.
input_filename=$1
temp_dir=`mktemp -d`
tests_dir=`dirname $0`
-gnome_clang=${tests_dir}/../scripts/gnome-clang
-gnome_clang_plugin=${tests_dir}/../clang-plugin/.libs/libclang-gnome.so
+tartan=${tests_dir}/../scripts/tartan
+tartan_plugin=${tests_dir}/../clang-plugin/.libs/libtartan.so
echo "Reading input from ${input_filename}."
echo "Using temporary directory ${temp_dir}."
-echo "Using gnome-clang from ${gnome_clang}."
-echo "Using plugin from ${gnome_clang_plugin}."
+echo "Using Tartan from ${tartan}."
+echo "Using plugin from ${tartan_plugin}."
test_status=0
@@ -87,8 +87,8 @@ while [[ -f `printf "${temp_dir}/${input_filename}_%02d.c" ${num}` ]]; do
fi
# Run the compiler.
- GNOME_CLANG_PLUGIN=$gnome_clang_plugin \
- $gnome_clang \
+ TARTAN_PLUGIN=$tartan_plugin \
+ $tartan \
-cc1 -analyze -std=c89 -Wno-visibility \
`pkg-config --cflags glib-2.0` \
$system_includes \