mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-05 15:10:27 +02:00
(top level): Explain the point of this test.
This commit is contained in:
parent
4291a8df7f
commit
95da7a8613
2 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
2007-12-29 Neil Jerram <neil@ossau.uklinux.net>
|
2007-12-29 Neil Jerram <neil@ossau.uklinux.net>
|
||||||
|
|
||||||
* standalone/test-bad-identifiers: New test.
|
* standalone/test-bad-identifiers: New test.
|
||||||
|
(top level): Explain the point of this test.
|
||||||
|
|
||||||
* standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
|
* standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
|
||||||
|
|
||||||
2007-12-13 Stephen Compall <s11@member.fsf.org>
|
2007-12-13 Stephen Compall <s11@member.fsf.org>
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
exec guile -s "$0" "$@"
|
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
|
(define bad-identifiers
|
||||||
'(
|
'(
|
||||||
;; On AIX 5.2 and 5.3, /usr/include/sys/timer.h includes:
|
;; On AIX 5.2 and 5.3, /usr/include/sys/timer.h includes:
|
||||||
|
@ -10,6 +16,8 @@ exec guile -s "$0" "$@"
|
||||||
;; #endif
|
;; #endif
|
||||||
;; So we want to avoid using func_data in Guile source code.
|
;; So we want to avoid using func_data in Guile source code.
|
||||||
"func_data"
|
"func_data"
|
||||||
|
|
||||||
|
;; More troublesome identifiers can be added into the list here.
|
||||||
))
|
))
|
||||||
|
|
||||||
(use-modules (ice-9 regex) (ice-9 rdelim))
|
(use-modules (ice-9 regex) (ice-9 rdelim))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue