mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Propagate srcdir into the test correctly. (#359845)
2006-10-05 Behdad Esfahbod <behdad@gnome.org> * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the test correctly. (#359845)
This commit is contained in:
parent
a3b67535df
commit
e54a2682fc
@ -1,3 +1,8 @@
|
||||
2006-10-05 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
|
||||
test correctly. (#359845)
|
||||
|
||||
2006-10-05 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
|
||||
|
@ -93,7 +93,7 @@ check-aliases:
|
||||
|
||||
.PHONY: check-aliases
|
||||
|
||||
TESTS_ENVIRONMENT = gtk_all_c_sources="$(gtk_all_c_sources)"
|
||||
TESTS_ENVIRONMENT = srcdir="$(srcdir)" gtk_all_c_sources="$(gtk_all_c_sources)"
|
||||
TESTS = aliasfilescheck.sh
|
||||
if OS_LINUX
|
||||
TESTS += abicheck.sh pltcheck.sh
|
||||
|
@ -5,8 +5,7 @@ if test "x$gtk_all_c_sources" = x; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
grep 'IN_FILE' gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files
|
||||
grep '^ *# *define __' $gtk_all_c_sources | sed 's/.*define //;s/ *$//' | sort > actual-files
|
||||
grep 'IN_FILE' ${srcdir-.}/gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files
|
||||
{ cd ${srcdir-.}; grep '^ *# *define __' $gtk_all_c_sources; } | sed 's/.*define //;s/ *$//' | sort > actual-files
|
||||
|
||||
diff expected-files actual-files && rm -f expected-files actual-files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user