diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-05-07 09:28:35 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-05-07 09:28:35 +0100 |
commit | c2b191a7ebb57a770b35baab3dc19b3c26de75b7 (patch) | |
tree | 1bff2b28dbc88075af9966d260ff72fd4aa8ec31 /tests | |
parent | 0b54df28f06566f01fb73bede6b20d2338b9c737 (diff) |
build: Rename from gnome-clang to Tartan
Make the name a little less GNOME-centric, since the plugin actually
only (currently) deals with GLib, so has much wider application than
just on GNOME code.
Also, ‘Tartan’ sounds cooler.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 4 | ||||
-rwxr-xr-x | tests/wrapper-compiler-errors | 14 |
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 \ |