split the testsuite to different directories for compiler, runtime and libraries

This commit is contained in:
krasimir
2009-06-13 13:54:06 +00:00
parent c25d7be877
commit 9142fcff76
19 changed files with 5 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
abstract lins = {
cat Nat ;
cat C Nat ;
fun zero : Nat ;
test : C zero ;
}
+2
View File
@@ -0,0 +1,2 @@
i -src -erasing=on testsuite/compiler/check/lins/linsCnc.gf
pg -printer=pmcfg_pretty
@@ -0,0 +1,17 @@
checking module linsCnc␍
Warning: no linearization type for C, inserting default {s : Str}␍
checking module linsCnc␍
Warning: no linearization of test␍
language linsCnc␍
productions␍
C1 -> F0[]␍
functions␍
F0 := () [zero]␍
sequences␍
startcats␍
C := [C0]␍
Float := [Float]␍
Int := [Int]␍
Nat := [C1]␍
String := [String]␍
+11
View File
@@ -0,0 +1,11 @@
concrete linsCnc of lins = {
lincat Nat = {} ;
-- we expect warnings because the lines bellow are commented out
-- we don't expect warning for zero because Nat = {}
-- lincat C = {s : Str} ;
-- lin test = {s = "test"} ;
}