Re: Bug#711452: liboasis-ocaml: Needs to depend on ocamlbuild in the META file.
Hi,
thanks for testing and the patch!
I pushed fixes for the two oasis bugs into the git repository. I
decided to move the cmi and ml* files to the runtime package,
because letting oasis depend on the development package seemed
inappropriate.
I also noticed that the test were disabled, so I enabled them.
However, the tests fail with
debian/rules override_dh_auto_test
make[1]: Entering directory `/tmp/buildd/oasis-0.3.0'
ocaml setup.ml -test
...............................................................S...............................SS....SS....FF.............F...........................................................................
==============================================================================
Failure: OASIS:5:TestFull:28:setup with dev mode (light)
OUnit: Exit status of command 'env PATH=/usr/sbin:/usr/bin:/sbin:/bin ocaml setup.ml
-info -debug -all'
expected: exit code 0 but got: exit code 2
------------------------------------------------------------------------------
==============================================================================
Failure: OASIS:5:TestFull:19:data/flag-ccopt:1:ocaml setup.ml -all
OUnit: Exit status of command 'env PATH=/usr/sbin:/usr/bin:/sbin:/bin ./setup -info
-debug -all'
expected: exit code 0 but got: exit code 1
------------------------------------------------------------------------------
==============================================================================
Failure: OASIS:5:TestFull:19:data/flag-ccopt:0:standard
OUnit: Exit status of command 'env PATH=/usr/sbin:/usr/bin:/sbin:/bin ./setup -info
-debug -build'
expected: exit code 0 but got: exit code 1
------------------------------------------------------------------------------
Ran: 198 tests in: 34.45 seconds.
FAILED: Cases: 198 Tried: 198 Errors: 0 Failures: 3 Skip:5 Todo:0
W: Test 'main' fails: Command '/tmp/buildd/oasis-0.3.0/_build/test/test.byte -oasis-exec /tmp/buildd/oasis-0.3.0/_build/src/cli/Main.byte -has-ocamlopt true' terminated with error code 1
..
Ran: 2 tests in: 0.04 seconds.
OKE: Failure("Tests had a 33.33% failure rate")
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/tmp/buildd/oasis-0.3.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Are these test supposed to work? Could it be possible that they
fail because the oasis digests are wrong in the patched files?
Bye,
Hendrik
Reply to: