Re: [racket-dev] DrDr the split repository
On Tue, Dec 9, 2014 at 12:12 AM, Asumu Takikawa as...@ccs.neu.edu wrote: On 2014-12-05 07:14:40 -0500, Jay McCarthy wrote: Instead, Matthew changed raco test (which is how DrDr tests programs) to support all these options. They can be test on a per-directory or per-file basis. The documentation for this is here: I tried to set this for a test I am responsible for, but it didn't seem to work. I've probably just made a mistake somewhere, so can someone sanity check this for me? DrDr is complaining to me about this file: http://drdr.racket-lang.org/29616/pkgs/racket-test/tests/generic/benchmark.rkt but I thought I set the timeout/randomness for that file here: https://github.com/plt/racket/blob/1e5ec02262e588512d225f4212badf4ce36b40d7/pkgs/racket-test/tests/generic/info.rkt I messed up the randomness checking (need to use regexp-quote). I also messed up one other place where timeouts are enforced. Thanks for letting me know. It should be fixed now. Jay -- Jay McCarthy http://jeapostrophe.github.io Wherefore, be not weary in well-doing, for ye are laying the foundation of a great work. And out of small things proceedeth that which is great. - DC 64:33 _ Racket Developers list: http://lists.racket-lang.org/dev
[racket-dev] Odd error when running make
Sometimes when building git HEAD I get an error like: raco setup: --- summary of errors --- raco setup: error: during building docs for pkgs/racket-doc/scribblings/guide/guide.scrbl raco setup: query-rows: attempt to write a readonly database raco setup: error code: 776 raco setup: SQL: SELECT pathid FROM documented WHERE stag=$1 raco setup: database: #path:/Applications/Racket/racket/doc/docindex.sqlite raco setup: mode: 'read-only raco setup: file permissions: (write read) raco setup: context...: raco setup: /Applications/Racket/racket/collects/db/private/sqlite3/connection.rkt:392:0: handle-status* raco setup: /Applications/Racket/racket/collects/db/private/sqlite3/connection.rkt:352:8 raco setup: /Applications/Racket/racket/collects/db/private/sqlite3/connection.rkt:171:4: step method in connection% raco setup: /Applications/Racket/racket/collects/db/private/sqlite3/connection.rkt:159:8: loop raco setup: /Applications/Racket/racket/collects/db/private/sqlite3/connection.rkt:62:4: query1 method in connection% raco setup: /Applications/Racket/racket/collects/db/private/generic/functions.rkt:165:0: query-rows8 raco setup: /Applications/Racket/racket/collects/setup/doc-db.rkt:94:3: temp60 raco setup: /Applications/Racket/racket/collects/setup/doc-db.rkt:497:0: call-with-retry/transaction raco setup: /Applications/Racket/racket/collects/setup/doc-db.rkt:89:0: doc-db-key-path22 raco setup: /Applications/Racket/pkgs/racket-index/setup/xref.rkt:120:6: try raco setup: /Applications/Racket/pkgs/racket-index/setup/xref.rkt:116:2 raco setup: /Applications/Racket/racket/share/pkgs/scribble-lib/scribble/xref.rkt:65:19: send-arg73 raco setup: /Applications/Racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:1114:28 raco setup: /Applications/Racket/racket/share/pkgs/scribble-lib/scribble/base-render.rkt:1114:28 raco setup: /Applications/Racket/racket/share/pkgs/scribble-lib/scribble/core.rkt:24:0: resolve-get/where raco setup: /Applications/Racket/racket/share/pkgs/scribble-lib/scribble/core.rkt:73:0: resolve-search... As a result the doc's index page has (part ((lib scribblings/guide/guide.scrbl) top)) instead of a link to the guide. running `make` again fixes the problem. Does anyone know how to stop this happening? _ Racket Developers list: http://lists.racket-lang.org/dev