From 8ae43ac855506334047bf10a91c8baf69b4b8aca Mon Sep 17 00:00:00 2001 From: krasimir Date: Sat, 13 Jun 2009 13:54:06 +0000 Subject: [PATCH] split the testsuite to different directories for compiler, runtime and libraries --- testsuite/check/lins/lins.gfs | 2 -- testsuite/{ => compiler}/check/lins/lins.gf | 0 testsuite/compiler/check/lins/lins.gfs | 2 ++ testsuite/{ => compiler}/check/lins/lins.gfs.gold | 0 testsuite/{ => compiler}/check/lins/linsCnc.gf | 0 testsuite/{ => compiler}/typecheck/Check.gf | 0 testsuite/{ => compiler}/update/ArrityCheck.gf | 0 testsuite/compiler/update/ArrityCheck.gfs | 1 + testsuite/{ => compiler}/update/ArrityCheck.gfs.gold | 2 +- testsuite/{ => runtime}/paraphrase/City.gf | 0 testsuite/{ => runtime}/paraphrase/CityEng.gf | 0 testsuite/{ => runtime}/paraphrase/Nat.gf | 0 testsuite/{ => runtime}/paraphrase/lambda.gf | 0 testsuite/{ => runtime}/paraphrase/lambda.gfs | 2 +- testsuite/{ => runtime}/paraphrase/lambda.gfs.gold | 0 testsuite/{ => runtime}/paraphrase/test.gfs.gold | 0 testsuite/{ => runtime}/parser/Parse.hs | 0 testsuite/{ => runtime}/parser/trees.txt | 0 testsuite/update/ArrityCheck.gfs | 1 - 19 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 testsuite/check/lins/lins.gfs rename testsuite/{ => compiler}/check/lins/lins.gf (100%) create mode 100644 testsuite/compiler/check/lins/lins.gfs rename testsuite/{ => compiler}/check/lins/lins.gfs.gold (100%) rename testsuite/{ => compiler}/check/lins/linsCnc.gf (100%) rename testsuite/{ => compiler}/typecheck/Check.gf (100%) rename testsuite/{ => compiler}/update/ArrityCheck.gf (100%) create mode 100644 testsuite/compiler/update/ArrityCheck.gfs rename testsuite/{ => compiler}/update/ArrityCheck.gfs.gold (54%) rename testsuite/{ => runtime}/paraphrase/City.gf (100%) rename testsuite/{ => runtime}/paraphrase/CityEng.gf (100%) rename testsuite/{ => runtime}/paraphrase/Nat.gf (100%) rename testsuite/{ => runtime}/paraphrase/lambda.gf (100%) rename testsuite/{ => runtime}/paraphrase/lambda.gfs (67%) rename testsuite/{ => runtime}/paraphrase/lambda.gfs.gold (100%) rename testsuite/{ => runtime}/paraphrase/test.gfs.gold (100%) rename testsuite/{ => runtime}/parser/Parse.hs (100%) rename testsuite/{ => runtime}/parser/trees.txt (100%) delete mode 100644 testsuite/update/ArrityCheck.gfs diff --git a/testsuite/check/lins/lins.gfs b/testsuite/check/lins/lins.gfs deleted file mode 100644 index fee8cec0f..000000000 --- a/testsuite/check/lins/lins.gfs +++ /dev/null @@ -1,2 +0,0 @@ -i -src -erasing=on testsuite\check\lins\linsCnc.gf -pg -printer=pmcfg_pretty diff --git a/testsuite/check/lins/lins.gf b/testsuite/compiler/check/lins/lins.gf similarity index 100% rename from testsuite/check/lins/lins.gf rename to testsuite/compiler/check/lins/lins.gf diff --git a/testsuite/compiler/check/lins/lins.gfs b/testsuite/compiler/check/lins/lins.gfs new file mode 100644 index 000000000..f84b865d9 --- /dev/null +++ b/testsuite/compiler/check/lins/lins.gfs @@ -0,0 +1,2 @@ +i -src -erasing=on testsuite/compiler/check/lins/linsCnc.gf +pg -printer=pmcfg_pretty diff --git a/testsuite/check/lins/lins.gfs.gold b/testsuite/compiler/check/lins/lins.gfs.gold similarity index 100% rename from testsuite/check/lins/lins.gfs.gold rename to testsuite/compiler/check/lins/lins.gfs.gold diff --git a/testsuite/check/lins/linsCnc.gf b/testsuite/compiler/check/lins/linsCnc.gf similarity index 100% rename from testsuite/check/lins/linsCnc.gf rename to testsuite/compiler/check/lins/linsCnc.gf diff --git a/testsuite/typecheck/Check.gf b/testsuite/compiler/typecheck/Check.gf similarity index 100% rename from testsuite/typecheck/Check.gf rename to testsuite/compiler/typecheck/Check.gf diff --git a/testsuite/update/ArrityCheck.gf b/testsuite/compiler/update/ArrityCheck.gf similarity index 100% rename from testsuite/update/ArrityCheck.gf rename to testsuite/compiler/update/ArrityCheck.gf diff --git a/testsuite/compiler/update/ArrityCheck.gfs b/testsuite/compiler/update/ArrityCheck.gfs new file mode 100644 index 000000000..69d739975 --- /dev/null +++ b/testsuite/compiler/update/ArrityCheck.gfs @@ -0,0 +1 @@ +i testsuite/compiler/update/ArrityCheck.gf diff --git a/testsuite/update/ArrityCheck.gfs.gold b/testsuite/compiler/update/ArrityCheck.gfs.gold similarity index 54% rename from testsuite/update/ArrityCheck.gfs.gold rename to testsuite/compiler/update/ArrityCheck.gfs.gold index 924dddf1e..d6ea2bb0c 100644 --- a/testsuite/update/ArrityCheck.gfs.gold +++ b/testsuite/compiler/update/ArrityCheck.gfs.gold @@ -1,6 +1,6 @@ -C:\gf_2\testsuite\update\ArrityCheck.gf:6:1: cannot unify the informations +C:\gf_2\testsuite\compiler\update\ArrityCheck.gf:6:1: cannot unify the informations fun f : Int -> Int -> Int ; def f 0 = \x -> x ; and diff --git a/testsuite/paraphrase/City.gf b/testsuite/runtime/paraphrase/City.gf similarity index 100% rename from testsuite/paraphrase/City.gf rename to testsuite/runtime/paraphrase/City.gf diff --git a/testsuite/paraphrase/CityEng.gf b/testsuite/runtime/paraphrase/CityEng.gf similarity index 100% rename from testsuite/paraphrase/CityEng.gf rename to testsuite/runtime/paraphrase/CityEng.gf diff --git a/testsuite/paraphrase/Nat.gf b/testsuite/runtime/paraphrase/Nat.gf similarity index 100% rename from testsuite/paraphrase/Nat.gf rename to testsuite/runtime/paraphrase/Nat.gf diff --git a/testsuite/paraphrase/lambda.gf b/testsuite/runtime/paraphrase/lambda.gf similarity index 100% rename from testsuite/paraphrase/lambda.gf rename to testsuite/runtime/paraphrase/lambda.gf diff --git a/testsuite/paraphrase/lambda.gfs b/testsuite/runtime/paraphrase/lambda.gfs similarity index 67% rename from testsuite/paraphrase/lambda.gfs rename to testsuite/runtime/paraphrase/lambda.gfs index 54b0708cb..5313751b5 100644 --- a/testsuite/paraphrase/lambda.gfs +++ b/testsuite/runtime/paraphrase/lambda.gfs @@ -1,4 +1,4 @@ -i testsuite/paraphrase/lambda.gf +i testsuite/runtime/paraphrase/lambda.gf pt -compute f1 pt -compute f2 diff --git a/testsuite/paraphrase/lambda.gfs.gold b/testsuite/runtime/paraphrase/lambda.gfs.gold similarity index 100% rename from testsuite/paraphrase/lambda.gfs.gold rename to testsuite/runtime/paraphrase/lambda.gfs.gold diff --git a/testsuite/paraphrase/test.gfs.gold b/testsuite/runtime/paraphrase/test.gfs.gold similarity index 100% rename from testsuite/paraphrase/test.gfs.gold rename to testsuite/runtime/paraphrase/test.gfs.gold diff --git a/testsuite/parser/Parse.hs b/testsuite/runtime/parser/Parse.hs similarity index 100% rename from testsuite/parser/Parse.hs rename to testsuite/runtime/parser/Parse.hs diff --git a/testsuite/parser/trees.txt b/testsuite/runtime/parser/trees.txt similarity index 100% rename from testsuite/parser/trees.txt rename to testsuite/runtime/parser/trees.txt diff --git a/testsuite/update/ArrityCheck.gfs b/testsuite/update/ArrityCheck.gfs deleted file mode 100644 index b63c0ca51..000000000 --- a/testsuite/update/ArrityCheck.gfs +++ /dev/null @@ -1 +0,0 @@ -i testsuite\update\ArrityCheck.gf