You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this may be related to #568
I'm using jbuilder 1.0+beta20.
We're having this problem right now in the atd repo, which includes 4 opam packages (atd, atdgen-runtime, atdgen, atdj):
$ git clone https://github.com/mjambon/atd.git
$ cd atd
$ opam remove atd atdgen-runtime atdgen # opam packages provided by this git repo
$ jbuilder build -p atd
$ jbuilder runtest -p atd
Error: Program atdgen not found in the tree or in PATH (context: default)
...
What happens is that the build command with -p atd builds only the atd package, but the runtest command apparently ignores the -p atd option and tries to run the tests for all packages; this fails because we built only the atd package.
Workaround:
$ (cd atd && jbuilder runtest)
but I don't know how to specify this in an opam file:
build-test: [
[???]
]
The text was updated successfully, but these errors were encountered:
Not sure if this may be related to #568
I'm using jbuilder 1.0+beta20.
We're having this problem right now in the atd repo, which includes 4 opam packages (atd, atdgen-runtime, atdgen, atdj):
What happens is that the build command with
-p atd
builds only the atd package, but the runtest command apparently ignores the-p atd
option and tries to run the tests for all packages; this fails because we built only theatd
package.Workaround:
but I don't know how to specify this in an opam file:
The text was updated successfully, but these errors were encountered: