aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-11-02 22:27:33 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-11-02 22:27:33 +0100
commitcc8791329435e3e992dff7488e5649e655f2fd54 (patch)
tree1b923c324e765623d4cecf232c57d1432d3fbf10 /tests/libtest/Makefile.inc
parentca9f9cb8754b5b5010b76ec77b950eadbe42dc9b (diff)
test: added test 580 - verifies symbols-in-versions
The new perl script mk580.pl generates a C table in a fresh source file named lib580.c and if that compiles fine we know that the file docs/libcurl/symbols-in-versions at least doesn't include any symbols that are misspelled. An additional feature would be to somehow scan curl/curl.h and compare with symbols-in-versions to see if there are symbols missing.
Diffstat (limited to 'tests/libtest/Makefile.inc')
-rw-r--r--tests/libtest/Makefile.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
index a0f1c0ecb..39d59fd3a 100644
--- a/tests/libtest/Makefile.inc
+++ b/tests/libtest/Makefile.inc
@@ -12,7 +12,7 @@ noinst_PROGRAMS = lib500 lib501 lib502 lib503 lib504 lib505 lib506 \
lib529 lib530 lib532 lib533 lib536 lib537 lib540 lib541 lib542 lib543 \
lib544 lib545 lib547 lib548 lib549 lib552 lib553 lib554 lib555 lib556 \
lib539 lib557 lib558 lib559 lib560 lib562 lib564 lib565 lib566 lib567 \
- lib568 lib569 lib570 lib571 lib572 lib573 chkhostname
+ lib568 lib569 lib570 lib571 lib572 lib573 chkhostname lib580
chkhostname_SOURCES = chkhostname.c $(top_srcdir)/lib/curl_gethostname.c
chkhostname_LDADD = @CURL_NETWORK_LIBS@
@@ -164,3 +164,8 @@ lib573_SOURCES = lib573.c $(SUPPORTFILES) $(TESTUTIL)
lib578_SOURCES = lib578.c $(SUPPORTFILES)
lib579_SOURCES = lib579.c $(SUPPORTFILES)
+
+lib580_SOURCES = lib580.c $(SUPPORTFILES)
+
+lib580.c: mk580.pl $(top_srcdir)/docs/libcurl/symbols-in-versions
+ $(PERL) mk580.pl $(top_srcdir)/docs/libcurl/symbols-in-versions > $@