Run the net tests under raco test.

This commit is contained in:
Sam Tobin-Hochstadt 2013-07-06 10:19:21 -04:00
parent d843237512
commit 5e8a9780e8
14 changed files with 26 additions and 12 deletions

View File

@ -8,18 +8,18 @@ compiler:
script:
- make CPUS="2" PKGS="racket-test"
- racket -f pkgs/racket-pkgs/racket-test/tests/racket/quiet.rktl
- racket pkgs/racket-pkgs/racket-test/tests/json/json.rkt
- racket pkgs/racket-pkgs/racket-test/tests/file/main.rkt
- racket pkgs/racket-pkgs/racket-test/tests/net/head.rkt
- racket pkgs/racket-pkgs/racket-test/tests/net/uri-codec.rkt
- racket pkgs/racket-pkgs/racket-test/tests/net/url.rkt
- racket pkgs/racket-pkgs/racket-test/tests/net/url-port.rkt
- racket pkgs/racket-pkgs/racket-test/tests/net/encoders.rkt
- racket pkgs/racket-pkgs/racket-test/tests/openssl/basic.rkt
- racket pkgs/racket-pkgs/racket-test/tests/openssl/https.rkt
- racket pkgs/racket-pkgs/racket-test/tests/match/plt-match-tests.rkt
- racket pkgs/racket-pkgs/racket-test/tests/db/all-tests.rkt
- racket pkgs/racket-pkgs/racket-test/tests/zo-path.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/json/json.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/file/main.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/net/head.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/net/uri-codec.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/net/url.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/net/url-port.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/net/encoders.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/openssl/basic.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/openssl/https.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/match/plt-match-tests.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/db/all-tests.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/zo-path.rkt
- raco test pkgs/racket-pkgs/racket-test/tests/xml/test.rkt
notifications:
irc: "chat.freenode.net#racket"

View File

@ -25,3 +25,5 @@
(module+ main
(tcp-localhost-available?))
(module+ test
(tcp-localhost-available?))

View File

@ -9,6 +9,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(putenv "REQUEST_METHOD" "GET")
(test (test-bindings 'amp-or-semi "key1=value1&key2=value2;key3=value3")

View File

@ -5,6 +5,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
;; cookie-test : (cookie -> cookie) string -> test
(define (cookie-test fn expected)

View File

@ -99,6 +99,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(test do (internal-tests)
(nameserver-tests *google-dns*)

View File

@ -70,6 +70,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(test
do (check-same-all (lambda (i o) (qp-encode-stream i o))

View File

@ -33,6 +33,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(define cop (open-output-string))
(define-values [pasv1-thd pasv1-port] (tcp-serve* (current-output-port) DIRLIST))

View File

@ -5,6 +5,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(define test-header
(string-append "From: abc\r\nTo: field is\r\n continued\r\n"

View File

@ -9,6 +9,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(test
;; ----------------------------------------

View File

@ -35,6 +35,7 @@ EOS
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(define analyzed (mime-analyze ip))
(define our-entity (message-entity analyzed))

View File

@ -3,6 +3,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(define sepmode current-alist-separator-mode)
(test (uri-decode "%Pq") => "%Pq"

View File

@ -123,6 +123,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(test
(run-tests "http" values #f)

View File

@ -45,6 +45,7 @@
(provide tests)
(module+ main (test do (tests)))
(module+ test (test do (tests)))
(define (tests)
(test
;; Test the current-proxy-servers parameter can be set

View File

@ -13,6 +13,7 @@
(provide tests)
(module+ main (tests))
(module+ test (tests))
(define (tests)
(test
(for ([i (in-range RANDOM-K)])