Changeset 27294 in project


Ignore:
Timestamp:
08/25/12 13:58:01 (9 years ago)
Author:
felix winkelmann
Message:

moved threads test

Location:
release/4/spock/stuff
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/spock/stuff/Makefile

    r22992 r27294  
    1010SPOCK_DIR = `csi -p "(repository-path)"`/spock
    1111
    12 .PHONY: check checkprograms checklibrary
     12.PHONY: check checkprograms checklibrary threads
    1313
    1414
     
    1919        @$(SPOCK) $(SPOCK_OPTIONS) -debug test.scm library-tests.scm test-end.scm \
    2020          -o tests/library-test-debug.js
    21         @$(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime-debug.js -f tests/library-test-debug.js
     21        $(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime-debug.js -f tests/library-test-debug.js
    2222        @echo "======================================== library tests (debug + strict)"
    2323        @$(SPOCK) $(SPOCK_OPTIONS) -debug -strict test.scm library-tests.scm test-end.scm \
    2424          -o tests/library-test-strict.js
    25         @$(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime-debug.js -f tests/library-test-strict.js
     25        $(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime-debug.js -f tests/library-test-strict.js
    2626        @echo "======================================== library tests (default)"
    2727        @$(SPOCK) $(SPOCK_OPTIONS) test.scm library-tests.scm test-end.scm \
    2828          -o tests/library-test.js
    29         @$(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime.js -f tests/library-test.js
     29        $(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime.js -f tests/library-test.js
    3030
    3131checkprograms: test.scm
     
    3333          tests/runtest.sh $(SPOCK) $$x $(SPOCK_OPTIONS) -debug \
    3434            -o tests/`basename $$x .scm`.js || exit 1; \
    35           $(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime-debug.js \
    36             -f tests/`basename $$x .scm`.js || exit 1; \
     35          $(TIME) $(JS) -f $(SPOCK_DIR)/spock-runtime-debug.js -f tests/`basename $$x .scm`.js || exit 1; \
    3736        done
    3837
     
    4443        done
    4544        rm -f tmp.js
     45
     46threads: threads.scm
     47        @$(SPOCK) $(SPOCK_OPTIONS) threads.scm -o threads.js
  • release/4/spock/stuff/tests/test.html

    r22982 r27294  
    33<html>
    44  <head>
    5     <script src="spock-runtime-debug-min.js" type="text/javascript">
     5    <script src="spock-runtime.js" type="text/javascript">
    66    </script>
    77    <script type="text/javascript">
     
    3737        SPOCK.stdout.name = "document";
    3838        SPOCK.stderr = SPOCK.stdout;
    39         var files = ["library-test-debug.js",
    40                      "0001-loop.js", "0002-fac.js", "0003-r4rstest.js",
     39        var files = ["library-test.js",
     40                     "0001-loop.js",
     41                     "0002-fac.js",
     42                     "0003-r4rstest.js" ,
    4143                     "0004-r5rs-pitfalls.js",
    42                      "0006-ec-test.js"];
    43 
     44                     "0006-ec-test.js"
     45                    ];
    4446        function chain(i) {
    4547          if(i >= files.length) dowrite("finished.\n");
Note: See TracChangeset for help on using the changeset viewer.