Changeset 32549 in project


Ignore:
Timestamp:
07/05/15 20:27:22 (5 years ago)
Author:
sjamaan
Message:

numbers: Wrap test suites up in a surrounding group, so we can see a slightly better end result (helpful when only interpreted tests fail)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/numbers/trunk/tests/run.scm

    r32329 r32549  
    33(use numbers test setup-api)
    44
    5 (test-group "interpreted"
    6   (fluid-let ((test-exit void))
    7     (load "all-tests.scm")))
     5(test-group "entire numbers test suite"
     6  (test-group "interpreted"
     7    (fluid-let ((test-exit void))
     8      (load "all-tests.scm")))
    89
    9 (if (version>=? (chicken-version) "4.8.0")
    10     (test-group "compiled"
    11       (compile -X numbers-syntax -O3 "all-tests.scm")
    12       (let ((exit-status (system "./all-tests")))
    13         (test "compiled test succeeded" 0 exit-status)))
    14     (print "Skipping compiled tests: this version of CHICKEN is too old, core has some problems that don't allow compiling numeric literals"))
     10  (if (version>=? (chicken-version) "4.8.0")
     11      (test-group "compiled"
     12        (compile -X numbers-syntax -O3 "all-tests.scm")
     13        (let ((exit-status (system "./all-tests")))
     14          (test "compiled test succeeded" 0 exit-status)))
     15      (print "Skipping compiled tests: this version of CHICKEN is too old, core has some problems that don't allow compiling numeric literals")))
    1516
    1617(test-exit)
Note: See TracChangeset for help on using the changeset viewer.