Andreas Muelder e9d23f41bd #899 Introduced builder plugin 9 年之前
..
.settings d5ecc1b76a set BREE to Java 1.7 9 年之前
META-INF e9d23f41bd #899 Introduced builder plugin 9 年之前
gtests a9dd750192 Add test case implementations for c code generator 9 年之前
model 138fe8c857 refactored C test sgen files 9 年之前
scripts 34155c0004 Testcase for C added 13 年之前
src e9d23f41bd #899 Introduced builder plugin 9 年之前
test-gen a9dd750192 Add test case implementations for c code generator 9 年之前
.classpath 6a4090844f replace JavaSE-1.6 to JavaSE-1.7 in all MANIFEST.MF 9 年之前
.gitignore 3c6eb975b0 Added .gitignore files 10 年之前
.project fa17e75d27 version upgrade to 2.1.2 12 年之前
README 55fe8524c5 Add setup instructions for C tests 13 年之前
build.properties ddd124e9f7 Added AllTests for generator.c.test 12 年之前
pom.xml 953ccd7b69 Updated version to 2.7.1 9 年之前

README

Executing the C tests.

Preconditions:

In order to run the C test the google test framework (gtest) must be installed.

To locate the required gtest headers and libraries the environment variable 'GTEST_DIR' is used.
This directory has to contain the 'gtest' and 'gtest_main' libs as well as the folder 'includes'
that has to contain the required header files.

If no environment variable is set then the test try to find the headers at the default systems header and library locations.

Please consult the gtest documentation for installation and build instructions (cmake based build seems to fit best).



Running the tests:

The C tests are wrapped by Junit tests. Simply run these as Junit-Plugin tests and make sure that the PermGenSpace is big enough ( -XX:MaxPermSize=256m ).

Running as plugin tests is necessary since several resources required for the test are loaded from the plugin bundle.