summaryrefslogtreecommitdiff
path: root/dragonegg/test/README
blob: 2ab3b4d9e51c3604bcd2445a7868cf1cdcb2c999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--------------
- Compilator -
--------------

Every file found under the compilator directory is compiled by GCC both with and
without the DragonEgg plugin, at a variety of optimization levels.  If GCC can
compile a file but DragonEgg cannot, or DragonEgg can compile the file but GCC
cannot, then that test is considered to have failed.  Note that the generated
code is *not* checked for correctness.

External source
---------------

You should either checkout the GCC testsuite in the compilator directory or use
a symbolic link to ensure that compilator/gcc-testsuite means the gcc/testsuite/
directory from the GCC source tree.

For testing C/C++, consider having compilator/clang-test be a symbolic link to
Clang's test directory, and compilator/llvm-test-suite a symbolic link to LLVM's
nightly testsuite.

For testing Fortran, consider putting a copy of the LAPACK source distribution
in the compilator directory.  Note that LAPACK includes a copy of the BLAS.  A
few other interesting collections of Fortran source code:
  The NIST Fortran 77 test suite
  The polyhedron benchmarks

For testing Java, consider having compilator/gcc-libjava be a symbolic link to
GCC's libjava.


---------------
-- Validator --
---------------

The validator directory contains tests that check the correctness of generated
code.