This file-specific setting will override a default setting of expandtabs
in $HOME/.vimrc.
*/Makefile:
*/Mmakefile:
As above.
tests/hard_coded/.gitignore:
Don't ignore the purity subdir. This ignore must have been left over
from when purity.m was a test in hard_coded, not hard_coded/purity,
and it ignored an executable, not a directory.
samples/tests/c_interface/cplusplus_calls_mercury/Mmakefile:
Re-add this file from a recent workspace. The version in the repository
had been truncated.
Estimated hours taken: 0.5
samples/tests/*/runtests:
Specify the full pathname when source'ing Mmake.thisdir, since
the current directory is not always searched.
Estimated hours taken: 2.5
Fix some failing test cases in samples/c_interface.
This fixes SourceForge bug report #131053.
samples/c_interface/cplusplus_calls_mercury/Mmakefile:
samples/c_interface/mercury_calls_cplusplus/Mmakefile:
samples/c_interface/simpler_cplusplus_calls_mercury/Mmakefile:
Fix several bugs:
- use $(MGNUC) rather than hard-coding mgnuc
- pass $(ALL_GRADEFLAGS) $(ALL_MGNUCFLAGS) to mgnuc
- pass $(ALL_GRADEFLAGS) $(ALL_MLFLAGS) to ml
- s/*_REGS_H/MR_MACHDEPS_*_REGS_H/, to match
the renaming that was done a fair while back
in the runtime/machdeps/*.h.
samples/tests/c_interface/c_calls_mercury/Mmakefile:
Add an explicit dependency to ensure that runtests makes
the dependencies for the extra Mercury library used in
this test case.
Estimated hours taken: 3
samples/tests/Mmakefile:
The old version of this file had a bogus SUBDIRS list
and a lot of code duplication with Mmake.common.samples.
I rewrote it to use Mmake.common.samples.
samples/tests/Mmake.common.samples:
Add some documentation.
Add some missing dependencies for the dep_local target.
Automatically set the SUBDIRS variable to the correct value,
rather than always setting it to empty.
Fix a couple of other bugs (an `ifeq' should have been `ifneq'
and in the condition of that test `$(SUBDIRS)' should have
been `"$(SUBDIRS)"').
samples/tests/Mmake.common:
samples/tests/generate_exp:
Delete the code for making .exp files using NU-Prolog.
samples/tests/c_interface/c_calls_mercury/Mmakefile:
samples/tests/c_interface/cplusplus_calls_mercury/Mmakefile:
Fix a bug: add some extra dependencies to ensure that
it copies the right files before invoking mmc to make
the dependencies.
Estimated hours taken: 0.25
tests/Mmake.common:
samples/tests/Mmake.common:
Delete an obsolete comment about setting `GRADEFLAGS-foo_init'
(that isn't needed anymore, since Mmake handles it automatically --
you only need to set `GRADEFLAGS-foo'.)
Estimated hours taken: 15
Add a testing architecture for the samples directory.
The tests are in the "tests" subdirectory of the samples
directory. This keeps them close to the samples, but not close
enough to clutter up the samples.
It also means you don't have to worry about the issue of exactly where
the developer has checked out the CVS tests module.
samples/c_interface/simpler_c_calls_mercury/Mmakefile:
Update this example to generate a .a file
instead of directly using $(mercury_lib.os)
samples/tests/*:
Test cases for all the samples.