| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
We need to expose the function declarations in mig_support.h.
Also fix test setup to work well in cases the build directory is not
inside the source directory.
Message-ID: <jjbpmhtxy4nybcmhlzueeenyv5taj4zygmsx6w336ggzcbr5yx@tnkp2ycfkf3t>
|
|
|
|
|
|
|
|
|
|
| |
* tests/Makefile.am (EXTRA_DIST): Add base_types.defs test_lib.sh
includes/all.h includes/mach/mig_support.h includes/server.h
includes/types.h includes/user.h.
* tests/bad/Makefile.am (EXTRA_DIST): Add $(TESTS) run_bad_test.sh.
* tests/generate-only/Makefile.am (EXTRA_DIST): Add $(TESTS)
run_generate_only_test.sh.
* tests/good/Makefile.am (EXTRA_DIST): Add $(TESTS) run_good_test.sh.
|
|
This includes a set of valid and invalid definition files that MIG will
try to process. For valid definitions, GCC will compile the stubs to
check if valid C code was generated.
* configure.ac: Add new test Makefiles.
* Makefile.am: Add SUBDIRS.
* tests/Makeconf.am: Automake definitions shared by all test
subdirectories.
* tests/test_lib.sh: Library of functions shared by all test drivers.
* tests/good/run_good_test.sh: Script to run valid definition files.
* tests/good/Makefile.am: New file.
* tests/bad/Makefile.am: New file.
* tests/generate-only/Makefile.am: New file.
* tests/bad/run_bad_test.sh: Script to run invalid definition files.
* tests/generate-only/run_generate_only.sh: Script to run valid
definition files that should be generated only.
* tests/includes/*.h: Test header files that are included by test stubs.
* tests/good/*.defs: Valid definition files where
generated stubs can be compiled.
* tests/generate_only/*.defs: Valid definition files that can be
generated but no compilation should be attempted.
* tests/bad/*.defs: Definition files with problems that should be
detected by MIG.
|