Piotr Trojanek <[email protected]> writes: > On Fri, Feb 12, 2016 at 3:39 PM, Stephen Leake > <[email protected]> wrote: >> "make one" runs one test; I edit the target to run the test I'm working >> on. >> >> If it leaves the emacs window open, that means the test failed; see the >> Messages buffer for the failure message. > > For me "make one" fails with this error in *Messages* buffer: > > Got ’/home/ptroja/ports/org.emacs.ada-mode/test/ada_mode-nominal.ads:285: > error: (’Private_Type_1’ not found in cross-reference files; > recompile?)’,
The "cross-reference files" are the .ali files generated by the GNAT compiler. So you need to run the `compile-ada' Makefile target. >> To build everything and run all the tests, run "make all" in >> build/wisi/Makefile. All the other targets are used by that or "make >> one". > > For me, with GNAT GPL 2015, "make all" fails with this error: I'm testing with GNAT GPL 2014 (because gpr-query breaks with 2015, and I don't feel like fixing that at the moment); apparently AdaCore has added yet another check. Patches welcome. -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
