From 95da7a8613da4c68acd21ebd4ee92a941b14b08f Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Sat, 29 Dec 2007 12:33:18 +0000 Subject: [PATCH] (top level): Explain the point of this test. --- test-suite/ChangeLog | 2 ++ test-suite/standalone/test-bad-identifiers | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog index 9703d7d35..60990ef3e 100644 --- a/test-suite/ChangeLog +++ b/test-suite/ChangeLog @@ -1,6 +1,8 @@ 2007-12-29 Neil Jerram * standalone/test-bad-identifiers: New test. + (top level): Explain the point of this test. + * standalone/Makefile.am (check_SCRIPTS, TESTS): Add it. 2007-12-13 Stephen Compall diff --git a/test-suite/standalone/test-bad-identifiers b/test-suite/standalone/test-bad-identifiers index 5e263fc7f..6462dbdbe 100755 --- a/test-suite/standalone/test-bad-identifiers +++ b/test-suite/standalone/test-bad-identifiers @@ -2,6 +2,12 @@ exec guile -s "$0" "$@" !# +;; The use of certain identifiers as variable or parameter names has +;; been found to cause build problems on particular platforms. The +;; aim of this test is to cause "make check" to fail (on GNU/Linux, +;; which most Guile developers use) if we accidentally add new code +;; that uses those identifiers. + (define bad-identifiers '( ;; On AIX 5.2 and 5.3, /usr/include/sys/timer.h includes: @@ -10,6 +16,8 @@ exec guile -s "$0" "$@" ;; #endif ;; So we want to avoid using func_data in Guile source code. "func_data" + + ;; More troublesome identifiers can be added into the list here. )) (use-modules (ice-9 regex) (ice-9 rdelim))