Commit Graph

119 Commits

Author SHA1 Message Date
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
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