Commit Graph

177 Commits

Author SHA1 Message Date
Spencer Florence
21b278c864 moved rackunit/log to new pkg, fixed docs 2016-04-29 12:45:59 -05:00
Sam Tobin-Hochstadt
062ac9d3a4 Fix test when run without raco in path. 2015-12-30 15:57:56 -05:00
Jay McCarthy
a0d78ecadd run from anywhere 2015-12-22 06:37:07 -05:00
Jay McCarthy
eee52585ed Fixing 13 2015-12-21 09:04:29 -05:00
Matthew Flatt
6d59b5e60d unbreak test-case
Fix a mistake in 644a4c550f.
2015-12-10 09:29:33 -07:00
Matthew Flatt
644a4c550f use syntax objects to represent source locations
To avoid the possibility of absolute paths in bytecode form,
rely on syntax objects to encode source locations (so that the
marshaling of syntax object can avoid absolute paths).
2015-12-09 17:22:42 -07:00
Asumu Takikawa
a3a22d191f Adjust docs on checks and current-check-handler
The description of how checks work was misleading since the
exception is usually not raised outside of the check call.

Also the default value for `current-check-handler` was described
incorrectly.
2015-10-25 17:08:34 -04:00
Jack Firth
0957188c09 Allow internal definitions in custom checks 2015-08-25 16:31:02 -05:00
Jack Firth
b4b8027267 Pushes values to the right when given long info keys 2015-08-20 16:40:28 -04:00
Vincent St-Amour
011715353f Use preferences:get/set from framework/preferences. 2015-08-18 16:26:40 -05:00
Vincent St-Amour
1a3dec8641 Replace uses of unstable/gui/notify with framework/notify. 2015-08-18 16:06:58 -05:00
Jay McCarthy
bf0c4812cd adding test case 2015-08-17 11:42:17 -04:00
Jay McCarthy
a0118d6ccf Ensure that only the rackunit output, not the test output goes to stderr 2015-08-17 11:40:14 -04:00
Vincent St-Amour
9548cffb8e Move unstable/class-iop to racket/class/iop. 2015-07-28 17:33:44 -05:00
Gustavo Massaccesi
cdcc3edf08 Remove SRFI-1 dependency 2015-03-26 14:06:57 -06:00
Sam Tobin-Hochstadt
466a679cd5 Merge pull request #2 from lexi-lambda/master
Use hash instead of hasheq to manage gui models for typed racket compat
2015-01-12 16:47:17 -05:00
Alexis King
21933612f8 Use hash instead of hasheq to manage gui models for typed racket compat 2015-01-09 11:18:18 -08:00
Sam Tobin-Hochstadt
dba8e56a02 Install raco test. 2015-01-02 18:00:22 -05:00
Sam Tobin-Hochstadt
bc52c19611 Try a different snapshot site. 2015-01-02 17:55:35 -05:00
Sam Tobin-Hochstadt
0e9db59745 Test travis on this repository, which has fewer dependencies. 2014-12-10 10:55:01 -05:00
Sam Tobin-Hochstadt
9ccd498cae Move schemeunit to this repository.
This loses the history of these files, but that history is both
trivial (they're all 3-line files) and hard to merge.
2014-12-06 22:08:36 -05:00
Sam Tobin-Hochstadt
5bd4abe045 Add standard .gitignore file. 2014-12-06 17:46:20 -05:00
Sam Tobin-Hochstadt
7300f625d5 Remove extra directories. 2014-12-01 20:42:38 -05:00
Sam Tobin-Hochstadt
456f63baa9 Remove stray reference to Racket in LICENSE files.
Related to PR 14842.

original commit: 3bbdd134b1754d51422eeaec1c35e9c62d45144c
2014-11-25 14:09:57 -05:00
Matthew Flatt
77e11a99cb add update-implies to package "info.rkt"s
original commit: eb9cbe20bf7b4ebc1eee63e2ca079ae566ff8c05
2014-08-14 16:49:53 +01:00
Matthew Flatt
8b41c49090 rackunit/docs-complete: move to the "racket-index" package
Modules are not supposed to move to different packages, anymore, so
I'm breaking a rule. The problem is that having `rackunit/docs-complete`
in "scribble-lib" made "scribble-lib" depend on "racket-index", and
that's an undesirable dependency. (Installing Scribble shouldn't
force you to have Racket documentation.) I should have noticed
the problem when I moved `setup/xref` to "racket-index", but I missed
it.

As far as I can tell, there's only one package on pkgs.racket-lang.org
that isn't in the main repository and uses `rackunit/docs-index`. The
package doesn't correctly declare its dependencies, anyway.

original commit: d33c2252e10dbeb22e49c85f03707345e2756ce5
2014-06-02 12:34:12 +01:00
Jay McCarthy
281487c630 fix srcloc
original commit: ccacb3ac11e27062bbda3f1893dee0c74dde8089
2014-04-16 15:37:34 -06:00
Eric Dobson
2a224fa511 Make check-exn/check-not-exn keep the check failure message.
original commit: ad6365f34c422d5d4999d882a2641d7d833ca07b
2014-03-12 18:09:39 -07:00
Matthew Flatt
01305fad45 LGPL by reference
original commit: 981701d2378179d4ada54b7fd2608df3b89748fd
2014-02-27 15:56:11 -07:00
Ryan Culpepper
275b886005 add dynamic-require/expose
original commit: cdc2aaa70c5cb908a16a546386fa2f064cdce6ad
2014-02-04 11:11:57 -05:00
Ryan Culpepper
3e34357795 fix require/expose for quoted module paths and submodules
closes PR 14331

Also, use namespace of use site, not rackunit (makes a difference
if rackunit is attached?)

original commit: 06a10c0110cabbe5c25d538583c77ea36b650985
2014-02-04 11:11:57 -05:00
Eli Barzilay
b72d16c3be 2013 -> 2014
original commit: c61a549840ee0ba5f2e5da56523fd3b26efeb895
2014-01-21 15:02:21 -05:00
Matthew Flatt
a99aae1b73 copy responsible info to "info.rkt" files
It seems more ideal that `pkg-authors` would be specific enough
responsibility, but our existing allocations of responsibility are
more fine-grained, and we keep them for now.

original commit: 19f8f30f63ece380105f69796c046c7a00aa4f97
2014-01-01 07:27:15 -07:00
Matthew Flatt
33e1cd058d move "props" test configs to test submodules or "info.rkt" files
The "props" file still has

 * ".rkt" `drdr:timeout` entries, needed until DrDr uses submodules and
   "info.rkt" files; although timeout information has been put in
   submodules for `raco test`, DrDr uses `raco test` in a way that does not
   enable timeouts, so that DrDr can implement timeouts itself (and record
   when a test times out)

 * ".rkt" `drdr:random #t` entries; not sure what to do with these, yet

 * ".rkt" `responsible` entries; not sure what to do with these, yet

 * ".rktl" `drdr:command-line #f` entries, needed until all ".rktl" files
   are disabled in DrDr

The following files were previously disabled for DrDr testing, but were
intentionally left as enabled with these changes:

pkgs/racket-pkgs/racket-test/tests/pkg/shelly.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/util.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/info.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/basic-index.rkt
pkgs/racket-pkgs/racket-test/tests/racket/link.rkt
pkgs/racket-pkgs/racket-test/tests/racket/embed-in-c.rkt
pkgs/racket-pkgs/racket-doc/ffi/examples/use-c-printf.rkt
pkgs/racket-pkgs/racket-doc/ffi/examples/c-printf.rkt
pkgs/parser-tools-pkgs/parser-tools-lib/parser-tools/private-lex/error-tests.rkt
pkgs/mysterx/mysterx.rkt
pkgs/mysterx/main.rkt
pkgs/games/gobblet/test-model.rkt
pkgs/games/gobblet/test-explore.rkt
pkgs/games/gobblet/robot.rkt
pkgs/games/gobblet/check.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/main.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/ffi.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/dbsystem.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/connection.rkt
pkgs/distributed-places-pkgs/distributed-places-lib/racket/place/distributed/examples/hello-world.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt
pkgs/htdp-pkgs/htdp-test/2htdp/utest/balls.rkt
pkgs/gui-pkgs/gui-test/framework/tests/test-suite-utils.rkt
pkgs/games/paint-by-numbers/raw-problems/size-calculation.rkt
pkgs/db-pkgs/db-lib/db/odbc.rkt
pkgs/compatibility-pkgs/compatibility-lib/mzlib/traceld.rkt
pkgs/cext-lib/dynext/private/stdio.rkt
pkgs/db-pkgs/db-lib/db/odbc.rkt
racket/collects/ffi/unsafe/objc.rkt
racket/collects/ffi/objc.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/tests-db.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/test-docs.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/test-catalogs-api.rkt
pkgs/gui-pkg-manager-pkgs/gui-pkg-manager-lib/pkg/gui/main.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/redextomatrix.rkt
pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/base-special-env.rkt
pkgs/planet-pkgs/planet-test/tests/planet/version.rkt
pkgs/planet-pkgs/planet-test/tests/planet/test-docs-complete.rkt
pkgs/planet-pkgs/planet-test/tests/planet/lang.rkt
pkgs/planet-pkgs/planet-test/tests/planet/docs-build.rkt
pkgs/drracket-pkgs/drracket-test/tests/drracket/follow-log.rkt
pkgs/drracket-pkgs/drracket/drracket/private/dock-icon.rkt
pkgs/drracket-pkgs/drracket-test/tests/drracket/tool-lib-and-sig.rkt

original commit: e226ad66c5fb6095d5702e5c47f5c7cf73e914f5
2013-12-30 12:15:18 -07:00
Eric Dobson
af49da5d70 Add rackunit HISTORY.txt for version 6.0.
original commit: ec75e9ae0838dfb25e5c92a4c011bd63145cbbdc
2013-12-25 06:59:21 -08:00
Robby Findler
07f2ef7fe2 remove dependency on rackunit-test from rackunit
Please include on the release branch

original commit: ae6bdd0168ec91652364330dd4c59e19a250415b
2013-11-28 14:10:08 -06:00
Asumu Takikawa
95d221e22b Remove/replace some dependencies on scheme-lib
original commit: dfe51373dd1d0147e217d2add4e0cb92b0b7c28e
2013-11-27 00:38:52 -05:00
Jay McCarthy
327e663de0 Turn off test where it is not caught properly
original commit: d6b68a66338b83390d174b0636cb2b5d20175dd9
2013-11-19 14:25:13 -07:00
Jay McCarthy
fd3e90fa72 Fixing PR14169
original commit: b563f0c87620af8bcb0ce8d65ab629b6e596a47f
2013-11-19 08:53:59 -07:00
Jay McCarthy
8f737bae4e Fixing PR14168
original commit: 6d06e8c66d4d3f7af5fc824e3bc4cdb7f056709d
2013-11-19 08:53:59 -07:00
Jay McCarthy
cb73ddc016 Fix PR14167
original commit: dca58884654e072fa67791d19263258b5c326562
2013-11-19 08:53:59 -07:00
Ryan Culpepper
61748bc7fa add check for check-exn predicate
closes PR 14165

original commit: 9b88a732ebebfdcb2229b79c1b5249295ff85c43
2013-11-17 18:17:54 -05:00
David T. Pierson
f8b0732caf rackunit: make check-exn/check-not-exn raise error if given a non-thunk
Previously, (check-exn exn? 'foo) would pass even though 'foo is not a
thunk.  Now it raises an exn:fail:contract? exception.

Previously, (check-not-exn 'foo) would produce a check failure.  Now it
raises an exn:fail:contract? exception.

original commit: bea7c852d773e442212528fafaccd6206df903b6
2013-11-07 13:36:22 -05:00
Eric Dobson
9083e022e4 Make rackunit print less extraneous newlines.
original commit: 0618b6e695823d19f115e70a8b4bd246782cdb1b
2013-10-29 20:25:00 -07:00
Eric Dobson
91f9befe34 Make rackunit not print a full stack trace in text-ui.
original commit: 30cecabb88b012b9bc6fabe9b3240f63c8cede79
2013-10-29 20:25:00 -07:00
Ryan Culpepper
c0b6e0013e include -test pkgs in aggregates
original commit: c655827dbad819b5812ad6db559be915ee72493a
2013-10-21 23:34:01 -04:00
Eric Dobson
39e27bee3c Small changes/fixes to rackunit.
* Add optional message for fail-check.
* Correctly shorten column name.

original commit: 02b9de16bd189e37ca22e9dde581b21e18f82083
2013-10-17 21:20:38 -07:00
Matthew Flatt
fe106c630c move some test & doc collections out of "racket-" pkgs to new pkgs
original commit: 1920ac59ab0607502641298fc575b66e6acd8c73
2013-10-15 17:50:32 -06:00
Matthew Flatt
2d7fb8663c fix doc package deps
original commit: 3df2a53acd23d20e0fb0a052053ca6dcd126af98
2013-10-15 13:13:53 -06:00
Jay McCarthy
81f5c67350 Fixing broken build and improving error message
original commit: 0182e3ff3341c79b2b828f4283ab8bfb8dfa77fb
2013-10-15 10:53:59 -06:00