Commit graph

13 commits

Author SHA1 Message Date
Gwenaël Delaval
3a8a3e1ff9 Modification of compile_sdc_run test script
Test script compile_sdc_run: handling of different controller
synthesis algorithms.
In a test file, put a special comment :
(* SDC algorithm *)
on a single line, to activate synthesis algorithm "algorithm"
for this test file.

Examples:
(* SDC sB *)
(* SDC sS *)
(* SDC sS:d={P:D} *)

NB: assertions not yet handled.
2017-03-05 23:50:39 +01:00
Gwenaël Delaval
cffb195b6d Compile/sdc/run test script 2017-02-06 18:02:05 +01:00
Gwenaël Delaval
ace152e096 Test script for controller synthesis
Added compile_sdc_run script which runs bzreax (compiles and run controller
synthesis tool reax) on heptagon programs.
2017-02-06 15:30:52 +01:00
Gwenaël Delaval
3e8af67e07 Added Java 1.4 target (experimental)
Experimental : remains some bugs on arrays
2012-11-17 23:29:19 +01:00
Gwenal Delaval
d1b0b196d3 Added test script for Java code generation
compile_javac_run script: compiles heptagon program with Java target code,
compile and run the produced Java code.
2012-09-28 13:01:09 +02:00
Gwenal Delaval
a0af340825 Corrected test scripts for object loading 2012-08-01 17:16:38 +02:00
Gwenal Delaval
5890e3599f Light change in test script 2012-07-23 17:36:04 +02:00
Gwenal Delaval
6011353cec Added test of options
Added script test_option which:
- compile and run without option
- compile with option given as argument, run
- diff on the two outputs, fails if different outputs

config file checks for existence of compiler (fails if not exist)

statics1.ept is a copy of statics.ept ; statics2.ept depends on statics1.ept
instead of statics.ept (so as dependency order => lexical order on file names)
2012-07-19 15:23:40 +02:00
Gwenal Delaval
87f359a6fd Added main to several tests
Added main to tests
Added dependency statics -> statics2 in scripts
2012-07-17 17:57:04 +02:00
Gwenal Delaval
40cf503149 Correct test scripts config file
Added "mkdir _check_builds" if it does not exist
2012-07-16 18:48:03 +02:00
Gwenal Delaval
295997b866 Config of test scripts
Added option -stdlib towards source library
2012-07-16 16:16:59 +02:00
Gwenal Delaval
4c0b1f8431 Corrected ctest configuration file 2012-07-16 11:22:56 +02:00
Gwenaël Delaval
e424667f47 Tests with ctest
Configuration files and scripts to perform tests with ctest
- ctest can be run into the test directory or the root
- the script CTestScript.cmake allows ctest to perform the whole
sequence update/configure/build/test and submit the result to
cdash (http://cdash.inria.fr/CDash/index.php?project=Heptagon)
- gen_ctests is used to generate the file test/CTestTestfile.cmake
2012-07-16 01:03:37 +02:00