New file for tests related to options interface.
This commit is contained in:
parent
3f619266b1
commit
d2864c8adb
3 changed files with 35 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* tests/options.test: New.
|
||||
|
||||
2002-10-04 Rob Browning <rlb@defaultvalue.org>
|
||||
|
||||
* tests/numbers.test ("expt"): add tests.
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ SCM_TESTS = tests/alist.test \
|
|||
tests/multilingual.nottest \
|
||||
tests/numbers.test \
|
||||
tests/optargs.test \
|
||||
tests/options.test \
|
||||
tests/ports.test \
|
||||
tests/r4rs.test \
|
||||
tests/reader.test \
|
||||
|
|
|
|||
30
test-suite/tests/options.test
Normal file
30
test-suite/tests/options.test
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
;;;; options.test --- test suite for options interface -*- scheme -*-
|
||||
;;;;
|
||||
;;;; Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
;;;;
|
||||
;;;; This program is free software; you can redistribute it and/or modify
|
||||
;;;; it under the terms of the GNU General Public License as published by
|
||||
;;;; the Free Software Foundation; either version 2, or (at your option)
|
||||
;;;; any later version.
|
||||
;;;;
|
||||
;;;; This program is distributed in the hope that it will be useful,
|
||||
;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;;;; GNU General Public License for more details.
|
||||
;;;;
|
||||
;;;; You should have received a copy of the GNU General Public License
|
||||
;;;; along with this software; see the file COPYING. If not, write to
|
||||
;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
;;;; Boston, MA 02111-1307 USA
|
||||
|
||||
(use-modules (test-suite lib))
|
||||
|
||||
(with-test-prefix "options"
|
||||
|
||||
(pass-if "setting an option doesn't reset other options"
|
||||
(let ()
|
||||
(debug-enable 'backwards)
|
||||
(debug-set! maxdepth 555)
|
||||
(if (memq 'backwards (debug-options)) #t #f)))
|
||||
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue