Commit Graph

146 Commits

Author SHA1 Message Date
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
Jay McCarthy
d567bf9ac7 Fixing PR14096
original commit: fe6b8f46b169eb105af6c29c8b38238f914a9b70
2013-10-15 10:38:26 -06:00
Ryan Culpepper
8966ebd203 show timing for suites in rackunit gui
original commit: 01fd205c9ab269a5d1cde81634eca93d0098bb43
2013-09-15 13:49:35 -04:00
Ryan Culpepper
305ea7dc4f extracted rackunit-gui package
original commit: 8512c365128064f3c1d3bdee768ce387cb358303
2013-09-15 13:49:35 -04:00
Tobias Hammer
241cec7565 Fix rackunit test/check-exn signature
original commit: 06eef213d84a0cfd239b9c9e115cd9c92d2a3431
2013-09-10 07:54:32 -06:00
Matthew Flatt
14c4579a16 move stray rackunit module
original commit: a30d80a9c462eec96c244cb458d3297bb7e5b616
2013-09-02 10:10:31 -06:00
Matthew Flatt
af471ef1bd include license with each package
original commit: ff9da94cfb852d25cd54bc0d9a904c8ae46fe64c
2013-08-31 06:25:31 -06:00
Matthew Flatt
d5a7e2075b auto-fix dependencies for "scheme-lib" and "srfi-lite-lib"
original commit: c709af5bf4d3af8f8c7a5918cf0b521ac1846f78
2013-08-27 15:20:58 -06:00
Robby Findler
f89f07a6f0 move rackunit's drracket plugin into its own pkg,
that you can now get via the (new) 'rackunit' pkg

original commit: ed5b2e6a4bfe2da46ecb67d33397d5b8e29e7169
2013-08-11 12:42:46 -05:00
Matthew Flatt
432f9fed39 add pkg-desc' and pkg-authors' to each package
This information will be used to construct a catalog from the
package directories.

original commit: 057bfc2ea1a24e85ece2d5f85da30076643ea598
2013-07-31 07:06:24 -06:00
Ryan Culpepper
b262a331b2 added checks to run-tests
Related to PR 13936.

original commit: a26101c63fcfbd42c0803203256554a7bbc8afec
2013-07-30 13:02:12 -04:00
Ryan Culpepper
daf3ac808a Revert "Add contract for run-tests."
Related to PR 13936.

This reverts commit 032e1ebf558087a4abc36394b01641c96138da08.

original commit: 58f29e7c7a65237e26cddab1e4a49ac665af4393
2013-07-30 12:08:48 -04:00
Matthew Flatt
a96b6f681c add "share", move "collects" back out of "lib", move "pkgs"
The "share" directory holds platform-independent files, while
"lib" holds platform-specific files.

In principle, the "collects" directory belongs in "share",
as does "doc". Those directories are put into "share"
by a Unix-style install, but left at top level for an
in-place install.

Packages in installation scope are put in "share" instead
of "lib", and the top-level Makefile puts development links
in "share/devel-pkgs".

The `configure' script now supports `--docdir' and `--collectsdir'.

Changed the version to 5.90.0.1.

original commit: 67a9889ef750ce88139e17da6d8f807adcccc68e
2013-07-19 11:52:02 -06:00
Matthew Flatt
a860a2387b misc changes to avoid absolute paths in bytecode files
In many cases, `path->collects-relative' is used instead of
`path->main-collects-relative' to generalize existing support
for collection-relative paths.

original commit: f87981f96057c26cb311e786a91229bf4a874e5b
2013-07-08 12:24:17 -06:00
Sam Tobin-Hochstadt
f0192efed2 Use #lang info instead of #lang setup/infotab.
original commit: 5a7ca7ebb56b2215f2d395ed052c03ea740817ea
2013-07-04 16:46:32 -04:00
Robby Findler
c3a3a4cc2a move drracket tests into their own package
original commit: e0f6a427750d476c1659d52297b9e188b7d221cf
2013-06-29 10:33:36 -05:00
Matthew Flatt
f833d9d488 auto-fix dependencies in "pkgs"
Left one dependency broken: "drracket" currently depends on "htdp" for
a test. That needs to be fixed by removing the dependency (moving the
test to "htdp?), instead of changing the declared dependencies.

original commit: 51290fd2a95def6bb3b6d3d735cb62444e157553
2013-06-29 06:51:19 -06:00
Matthew Flatt
7880e7f954 link development-mode packages in a separate pkg database
Use `PKGS' with the top-level makefile to select packages for
a development-mode build. The default is "main-distribution",
which includes all packages in "pkgs".

original commit: d450ee97075ef92e3356b6ae27e8a53419dd9732
2013-06-27 21:52:23 -06:00
Sam Tobin-Hochstadt
a5476d6ba0 Move rackunit to the rackunit-lib package.
The `rackunit/log` utility stays in the core, because it's
used by `raco test` and very small.

original commit: 52af4ed52ea55e9b9d6965f6113cb52d813cc5ce
2013-06-27 13:53:52 -04:00
Matthew Flatt
48ea72842a a step toward single-collection packages as default
A package's "info.rkt" file should define `collection' as a
string to name a single-collection package's collection, or as
the symbol 'multi to declare the package as multi-collection.
If `collection' is 'same-as-pkg, then the package name is used
as the collection name.

The default for `collection' is 'multi for now, but the intent
is to change the default to 'same-as-pkg after a conversion
period. Also, support for a `single-collection' definition remains
in place, but it wil be removed.

original commit: c738a6aa3eee89a82d577dd35c70eca8ed32f5b4
2013-06-25 22:46:23 +02:00
Matthew Flatt
8c08789023 reorganize into core plus packages
The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.

original commit: b2ebb0a28bf8136e75cd98316c22fe54c30eacb2
2013-06-19 09:01:37 -06:00
Matthew Flatt
e5f077c501 raco pkg create: support "source" and "binary" bundling
Adds `--from-dir' and `--from-install' flags to select the interpretation
of the argument as a directory or as the name of an installed package.
Relevant to PR 13669

Adds `--as-is' (the default), `--source', and `--binary' flags to
select a pruning mode.

The `raco setup' tool recognizes a `rendered-scribblings' specification
in "info.rkt" to trigger moving rendered documentation into place,
registering its tags in the cross-reference database, and fixing up
references to "local-redirect.js"; the presence of a "synced.rktd"
indicates when those fixups have been performed (since, if the package
is installed in a user-specific scope, the documentation doesn't actually
move anywhere). Finally, "out<n>.sxref" needs to report paths relative to
the documentation's directory, and then the relative-directory references
need to be suitably resolved at derserialization; some support for such
relative paths was in place, but it wasn't quite general enough before.

original commit: 198a65a5fc79649ec167d2407c35815768a119ba
2013-05-16 11:50:04 -06:00
Jay McCarthy
56024fc2ca Adding summary mode, quiet program mode and changing tests/eli-tester to cooperate so it adds useful information in summary mode
original commit: ccf1119b68063306a5f749e7df9d275b33c3445b
2013-05-02 14:49:58 -06:00
Jay McCarthy
56733328a4 Fixing standalone
original commit: 8a3f8318077954c5e8d8562fff108f42038cd3fd
2013-03-28 08:45:03 -06:00
Jay McCarthy
b7b42f0226 Fixing broken rackunit display tests
original commit: 169a9ea28d6e3e4e3f4642b87ddf7007dde264a0
2013-03-26 06:08:21 -06:00
Jay McCarthy
38f8b0cb3d Fixing broken rackunit tests
original commit: 04d723eea88ce3456856ae3f77e265304fa84f31
2013-03-22 07:45:14 -06:00
Jay McCarthy
38de84812e Adding test logging facility to rackunit and eli-tester, with its own test and docs
original commit: 804791b01153b24c9b14d978243fb4c46c7c5601
2013-03-21 07:02:50 -06:00
Eli Barzilay
635a8a229f Fix lots of indentation mistakes.
(Found by my ayatollah script...)

original commit: af6be85ff576e475753a46bd3f1690eb8bf88a28
2013-03-14 10:55:47 -04:00
Danny Yoo
f51a916705 Modify exn:test:check to support prop:exn:srclocs to produce good error messages even without debugging enabled.
Closes PR-13451.

original commit: f5e85a650314e24852e03edde4297ad355f984ab
2013-02-27 12:02:00 -07:00
Asumu Takikawa
ba15ee88bb Add for-label require
original commit: dcf2b0f4dcb4b242b6fe09c5ffedc1f42f5839e9
2012-11-20 13:31:05 -05:00
Joe Gibbs Politz
821efdce41 Add check-match to rackunit
check.rkt:
  Added the actual check-match macro.

test.rkt:
  Just a provide statement

check-test.rkt:
  7 additional tests for check-match, and a macro to help create tests

check.scrbl:
  Documentation and examples for check-match

original commit: e264e4148884f0675bd21e889525ccb7239eb4b4
2012-11-20 13:02:31 -05:00
Danny Yoo
dd6c2d2086 Add contract for run-tests.
original commit: 032e1ebf558087a4abc36394b01641c96138da08
2012-11-14 10:54:51 -07:00