Commit Graph

109 Commits

Author SHA1 Message Date
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
Eli Barzilay
ffa29cb408 Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".

original commit: 672910f27b856549ad08d38832b6714edf226c8e
2012-11-07 11:22:20 -05:00
Matthew Flatt
673a1233b9 Revert "Fixing Rackunit tests after alignment"
This reverts commit 4497c8ce5e9e0fd8ff65991242f3707ea42a77a4,
because the tests were correctly reporting a bug that I
introduced.

original commit: b95b1b9366436f039d497c3e1aa45283acb6498d
2012-08-15 09:34:17 -06:00
Matthew Flatt
6d7f64f6d5 fix rackunit formatting
Repairs mistake in 36f519fe64.

original commit: 02d2b4dd62730585b2aa70e30f40bb3e513b26e6
2012-08-15 07:41:49 -06:00
Jay McCarthy
0e811984f0 Fixing Rackunit tests after alignment
original commit: 4497c8ce5e9e0fd8ff65991242f3707ea42a77a4
2012-08-14 22:21:44 -06:00
Matthew Flatt
e6073f2774 remove rackunit' dependency on srfi/13'
Cuts the bytecode footprint of `rackunit' in half
(by more than 200 KB).

original commit: 36f519fe646296515baf0ac475b21f58719f8661
2012-08-14 09:48:56 -06:00
Eli Barzilay
ee25e05713 A bunch of typo fixes from Richard Cleis.
original commit: a7064d5f6ae6ac941df16f377dbbabdbbbc75865
2012-06-14 17:20:05 -04:00
John Clements
3d59b3de3c check-= uses magnitude to compare number differences
original commit: 9f9468f7c2cd7c8618f3575d384dd63c9c60598e
2012-05-03 10:55:49 -07:00
Matthew Flatt
65ed1d1d82 adjust some libraries to avoid converting paths to strings too early
Early conversions leave absolute paths in bytecode and rendered
documentation.

original commit: 9b569aa9a2ea5ac800c6ba50eb4f29452ecc1dd6
2012-02-10 06:17:18 -07:00
Jordan Schatz
2359fee772 Two typos in the rackunit docs
original commit: 8a2b06574aab93e9694aae62de20d4d194d8bd56
2012-02-04 03:05:00 -05:00
Ryan Culpepper
c0a88648e0 rackunit: change exn:test to extent exn:fail
closes PR 12393

original commit: 2e4d4e21ca4f6adc41f792f61030018ade4028c5
2011-12-02 14:41:17 -07:00
Ryan Culpepper
a0bad63148 rackunit: fixed test
merge to 5.2

original commit: 1695d73f5b427a0ced3dbf314bdbded48be4c955
2011-10-16 02:40:41 -06:00
Ryan Culpepper
ed6361fb0e rackunit: fix tests
merge to 5.2

original commit: 18b3899e6aac5a6d39507e8b2b549f05b4eec0ca
2011-10-16 02:40:41 -06:00
Jay McCarthy
7ac8d8a288 Fixing breakage from push 23693
original commit: b20ffdbe95385f8357db0a4a9ab1b33fe2161a32
2011-10-10 08:27:34 -06:00
Ryan Culpepper
3a84f89c4d rackunit: prevent test case from killing test-runner thread
closes PR 11586

original commit: a100395626c0e7f569ddc301ac4d57cbc6f4607a
2011-10-07 19:40:48 -06:00
Ryan Culpepper
0f5266d34a rackunit: all checks return void
closes PR 12001

original commit: f7a6c4a3b674dcf76aada4f07fea6ef249d83fd9
2011-10-07 19:40:48 -06:00
Ryan Culpepper
d24af2ea3f removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Ryan Culpepper
da4f8fc9f8 rackunit: added #:wait? arg to test/gui
original commit: 43d3b5d8bc06c610eb86ab7486b36ff50fc4135a
2011-09-20 14:49:49 -06:00
Ryan Culpepper
3d6488e24e rackunit/tool: avoid attaching module to user namespace
original commit: 766e6c2f00a788d6195208449c380bd7f547448a
2011-09-06 12:41:03 -06:00
Eli Barzilay
2363e237b6 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).

original commit: d61eb53686f735b979a60dc6f9efd3d2aa9777d9
2011-08-15 07:50:04 -04:00
Ryan Culpepper
922151ee43 rackunit: fix require/expose to work on variable-like macros
(eg struct names, names w/ contracts, etc)

original commit: 3b707c1e541c0a26c37da9b64e40d618ad72eccc
2011-07-07 14:00:22 -06:00
Jay McCarthy
847d4caff4 Attempting to fix a very brittle test case
original commit: 4c276ea01055b62d8202deeedd8fc1d64ad68103
2011-07-06 15:21:39 -06:00
Jay McCarthy
cf69301396 Fixing this test
original commit: 65ebdc4f90afbba652169b9410a71d8e54c5bac8
2011-07-02 14:01:32 -07:00
Jay McCarthy
14f5747391 This test is sensitive to the JIT, it seems
original commit: bd46637210357b72d92a08a1b4a8c83fc0169b6b
2011-07-02 13:51:31 -07:00
Ryan Culpepper
341b1b3979 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names

original commit: 1b702a2ae32aba835f7467ced6b203902db0ccd9
2011-07-01 17:16:53 -06:00
Eli Barzilay
e199e35763 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Eli Barzilay
95705909f6 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.

original commit: ac26fe75546b5182d78f18c2cd882f0f440849e2
2011-06-25 04:08:47 -04:00
Vincent St-Amour
be6a3a01b5 Fix a typo in Eric Hanchrow's name.
original commit: ef11f754e5138eb93a4e3fbe494a85958ef97094
2011-06-14 17:53:26 -04:00
Ryan Culpepper
1b8e0a4f40 rackunit: don't assume raised value is exn
Closes PR 11632

original commit: b45b111960a39728d35513d5d0616bd3c948bbc7
2011-05-10 18:17:21 -06:00
Ryan Culpepper
63d6faaecf rackunit: drop redundant 'params info, use error-display-handler
Closes PR 11618

original commit: f6b73f01e174337534ed11e7ff78d095f16d6088
2011-05-10 18:17:21 -06:00
Robby Findler
864ae93889 moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library

original commit: 507b1cd8fd81cd9c5fcf466a2a0c4c47433b0795
2011-05-05 16:10:42 -05:00
Robby Findler
5f20e27dc1 Adjusted docs-complete to print a different message when there are no docs at all
and ... ummm... documented docs-complete

original commit: d3c04ae701ab550364d1b6059c78b17434001e48
2011-05-04 18:54:25 -05:00
Robby Findler
585697af05 make (many of) the rackunit examples executable
and fix a buggy example
  closes PR 11894

original commit: 0415bf6b7ff3fd72b9d935b85831b343a9a2a4f2
2011-05-04 14:02:45 -05:00
Vincent St-Amour
9c82ca4849 Fix typos in rackunit docs.
original commit: 2d8b4dcc3ec9e70f5d736bc39dc720200c719cd2
2011-04-27 10:11:05 -04:00
Ryan Culpepper
9323b3953b created racket/syntax from parts of unstable/syntax
original commit: 73ab1675222761363f6633061bc1156189f4ba59
2011-04-07 09:47:20 -06:00
John Clements
4b92fff7c6 oops rename in tests subdir too
original commit: ca88fdd7e52bc57a83e45131fdabc2dddbe4fef4
2011-03-08 17:37:38 -08:00
John Clements
4878d7b4ab renamed foldts to foldts-test-suite
original commit: 683f6b0fe4b6396c3931380168195abd95f9785e
2011-03-08 13:40:39 -08:00
Jay McCarthy
eb71e561ae Fixes PR11713
original commit: b4c3d82c948ba263a19b680eeadde88ac7b7e4c6
2011-02-05 07:13:26 -07:00