The nonreg test process was missing some failures.
More precisely, issuing an "exit 2" is not enough for the should_work proc in test/site.exp to state that the test fails. That fix revealed a certain number of bad programs. Some were not really wrong ; there were just not respecting the naming convention used to automated the test (i.e., main node name = file name). It also releaved a real bug due to the fact that type instanciatiation is not propagated during model instanciatiation, where creates a loop between (Lic2soc.process_node and Lic2soc.soc_of_node). Indeed it searches in the soc the table for an abstract profile.
Showing
- src/astTab.ml 2 additions, 2 deletionssrc/astTab.ml
- src/compile.ml 2 additions, 2 deletionssrc/compile.ml
- src/genOcamlGlue.ml 2 additions, 2 deletionssrc/genOcamlGlue.ml
- src/lic2soc.ml 12 additions, 8 deletionssrc/lic2soc.ml
- src/lv6MainArgs.ml 6 additions, 6 deletionssrc/lv6MainArgs.ml
- src/main.ml 2 additions, 2 deletionssrc/main.ml
- test/lus2lic.sum 47 additions, 47 deletionstest/lus2lic.sum
- test/should_work/Condact.lus 3 additions, 3 deletionstest/should_work/Condact.lus
- test/should_work/model.lus 0 additions, 28 deletionstest/should_work/model.lus
- test/should_work/modelInst.lus 3 additions, 3 deletionstest/should_work/modelInst.lus
- test/should_work/newpacks.lus 3 additions, 3 deletionstest/should_work/newpacks.lus
- test/should_work/p.lus 3 additions, 3 deletionstest/should_work/p.lus
- test/should_work/packageTableau.lus 5 additions, 6 deletionstest/should_work/packageTableau.lus
- test/should_work/packed_cst.lus 3 additions, 3 deletionstest/should_work/packed_cst.lus
- test/should_work/packs.lus 5 additions, 2 deletionstest/should_work/packs.lus
- test/should_work/pilote.lus 7 additions, 5 deletionstest/should_work/pilote.lus
- test/should_work/polymorphic_pack.lus 3 additions, 3 deletionstest/should_work/polymorphic_pack.lus
- test/should_work/remplissage.lus 6 additions, 6 deletionstest/should_work/remplissage.lus
- test/should_work/testBoite.lus 3 additions, 3 deletionstest/should_work/testBoite.lus
- test/should_work/test_Int.lus 12 additions, 13 deletionstest/should_work/test_Int.lus
Loading
Please register or sign in to comment