Further investigation reveals that the source code of `compiler/commands/test` is adamant that the only acceptable extensions are 'rkt' and 'scrbl', and that anything else needs to be handled with 'test-command-line-arguments' [1]. So this kind of thing will work in an "info.rkt", with each file added as (list "sourcename.ext" ()):
#lang info
(define test-command-line-arguments
(list (list "extra-source-1.ext" '()) (list "extra-source-2.ext" '()) ... ))
However it doesn't seem possible to, for instance, generate a list of files from `directory-list` and `filter` them, as the functions available within #lang info are a very tiny subset of racket/base. [2]
Maybe there's a clever way to circumvent this restriction with a submodule or macro, but so far `raco` detects and rejects my attempts.
[1]
http://docs.racket-lang.org/raco/test.html#%28part._test-config-info%29
[2]
http://docs.racket-lang.org/raco/info_rkt.html?q=info.rkt
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
racket-users...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.