[Swift-commit] r4652 - in trunk/tests/language-behaviour: . arrays mappers math
achavez at ci.uchicago.edu
achavez at ci.uchicago.edu
Wed Jun 22 09:58:34 CDT 2011
Author: achavez
Date: 2011-06-22 09:58:34 -0500 (Wed, 22 Jun 2011)
New Revision: 4652
Added:
trunk/tests/language-behaviour/arrays/020-array.check.sh
trunk/tests/language-behaviour/arrays/020-array.clean.sh
trunk/tests/language-behaviour/arrays/021-array-in-proc-param.check.sh
trunk/tests/language-behaviour/arrays/021-array-in-proc-param.clean.sh
trunk/tests/language-behaviour/arrays/022-array-with-exprs.check.sh
trunk/tests/language-behaviour/arrays/022-array-with-exprs.clean.sh
trunk/tests/language-behaviour/arrays/025-array-passing.check.sh
trunk/tests/language-behaviour/arrays/025-array-passing.clean.sh
trunk/tests/language-behaviour/arrays/027-array-assignment.check.sh
trunk/tests/language-behaviour/arrays/027-array-assignment.clean.sh
trunk/tests/language-behaviour/arrays/028-array-assignment.check.sh
trunk/tests/language-behaviour/arrays/028-array-assignment.clean.sh
trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.clean.sh
trunk/tests/language-behaviour/arrays/111-array-individual-assigns.check.sh
trunk/tests/language-behaviour/arrays/111-array-individual-assigns.clean.sh
trunk/tests/language-behaviour/arrays/162-dot-on-array.check.sh
trunk/tests/language-behaviour/arrays/162-dot-on-array.clean.sh
trunk/tests/language-behaviour/arrays/array_multidimensional_index.check.sh
trunk/tests/language-behaviour/arrays/array_multidimensional_index.clean.sh
trunk/tests/language-behaviour/math/
trunk/tests/language-behaviour/math/006-add.check.sh
trunk/tests/language-behaviour/math/006-add.clean.sh
trunk/tests/language-behaviour/math/007-add-in-proc-add.check.sh
trunk/tests/language-behaviour/math/007-add-in-proc-add.clean.sh
trunk/tests/language-behaviour/math/008-add-multiply.check.sh
trunk/tests/language-behaviour/math/008-add-multiply.clean.sh
trunk/tests/language-behaviour/math/009-multiply.check.sh
trunk/tests/language-behaviour/math/009-multiply.clean.sh
trunk/tests/language-behaviour/math/010-divide.check.sh
trunk/tests/language-behaviour/math/010-divide.clean.sh
trunk/tests/language-behaviour/math/011-divide-float.check.sh
trunk/tests/language-behaviour/math/011-divide-float.clean.sh
trunk/tests/language-behaviour/math/013-mod.check.sh
trunk/tests/language-behaviour/math/013-mod.clean.sh
trunk/tests/language-behaviour/math/014-subtract.check.sh
trunk/tests/language-behaviour/math/014-subtract.clean.sh
trunk/tests/language-behaviour/math/0145-unary-subtact.check.sh
trunk/tests/language-behaviour/math/0145-unary-subtact.clean.sh
trunk/tests/language-behaviour/math/015-lesseq.check.sh
trunk/tests/language-behaviour/math/015-lesseq.clean.sh
trunk/tests/language-behaviour/math/016-greatereq.check.sh
trunk/tests/language-behaviour/math/016-greatereq.clean.sh
trunk/tests/language-behaviour/math/017-greater.check.sh
trunk/tests/language-behaviour/math/017-greater.clean.sh
trunk/tests/language-behaviour/math/018-less.check.sh
trunk/tests/language-behaviour/math/018-less.clean.sh
trunk/tests/language-behaviour/math/019-equals.check.sh
trunk/tests/language-behaviour/math/019-equals.clean.sh
trunk/tests/language-behaviour/math/0191-not-equals.check.sh
trunk/tests/language-behaviour/math/0191-not-equals.clean.sh
trunk/tests/language-behaviour/math/030-mix-float-int.check.sh
trunk/tests/language-behaviour/math/030-mix-float-int.clean.sh
trunk/tests/language-behaviour/math/031-add-float.check.sh
trunk/tests/language-behaviour/math/031-add-float.clean.sh
Removed:
trunk/tests/language-behaviour/arithmetic/
trunk/tests/language-behaviour/arrays/022-array-with-exprs.out.expected
trunk/tests/language-behaviour/arrays/111-array-individual-assigns.out.expected
trunk/tests/language-behaviour/arrays/162-dot-on-array.out.expected
trunk/tests/language-behaviour/arrays/array_multidimensional_index.out.expected
trunk/tests/language-behaviour/math/006-add.out.expected
trunk/tests/language-behaviour/math/007-add-in-proc-add.out.expected
trunk/tests/language-behaviour/math/008-add-multiply.out.expected
trunk/tests/language-behaviour/math/009-multiply.out.expected
trunk/tests/language-behaviour/math/010-divide.out.expected
trunk/tests/language-behaviour/math/011-divide-float.out.expected
trunk/tests/language-behaviour/math/013-mod.out.expected
trunk/tests/language-behaviour/math/014-subtract.out.expected
trunk/tests/language-behaviour/math/0145-unary-subtact.out.expected
trunk/tests/language-behaviour/math/015-lesseq.out.expected
trunk/tests/language-behaviour/math/016-greatereq.out.expected
trunk/tests/language-behaviour/math/017-greater.out.expected
trunk/tests/language-behaviour/math/018-less.out.expected
trunk/tests/language-behaviour/math/019-equals.out.expected
trunk/tests/language-behaviour/math/0191-not-equals.out.expected
trunk/tests/language-behaviour/math/030-mix-float-int.out.expected
trunk/tests/language-behaviour/math/031-add-float.out.expected
Modified:
trunk/tests/language-behaviour/arrays/020-array.swift
trunk/tests/language-behaviour/arrays/022-array-with-exprs.swift
trunk/tests/language-behaviour/arrays/025-array-passing.swift
trunk/tests/language-behaviour/arrays/027-array-assignment.swift
trunk/tests/language-behaviour/arrays/028-array-assignment.swift
trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.swift
trunk/tests/language-behaviour/arrays/083-array-assign.swift
trunk/tests/language-behaviour/arrays/111-array-individual-assigns.swift
trunk/tests/language-behaviour/arrays/162-dot-on-array.swift
trunk/tests/language-behaviour/arrays/array_multidimensional-2.swift
trunk/tests/language-behaviour/arrays/array_multidimensional_assign.swift
trunk/tests/language-behaviour/arrays/array_multidimensional_index.swift
trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.1.out.expected
trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.swift
trunk/tests/language-behaviour/mappers/070-singlefilemapper.out.expected
trunk/tests/language-behaviour/mappers/070-singlefilemapper.swift
trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.check.sh
trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.clean.sh
trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.check.sh
trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.clean.sh
trunk/tests/language-behaviour/math/007-add-in-proc-add.swift
trunk/tests/language-behaviour/math/008-add-multiply.swift
trunk/tests/language-behaviour/math/009-multiply.swift
trunk/tests/language-behaviour/math/011-divide-float.swift
trunk/tests/language-behaviour/math/013-mod.swift
trunk/tests/language-behaviour/math/014-subtract.swift
trunk/tests/language-behaviour/math/0145-unary-subtact.swift
trunk/tests/language-behaviour/math/015-lesseq.swift
trunk/tests/language-behaviour/math/016-greatereq.swift
trunk/tests/language-behaviour/math/017-greater.swift
trunk/tests/language-behaviour/math/018-less.swift
trunk/tests/language-behaviour/math/019-equals.swift
trunk/tests/language-behaviour/math/0191-not-equals.swift
trunk/tests/language-behaviour/math/030-mix-float-int.swift
trunk/tests/language-behaviour/math/031-add-float.swift
Log:
Name of subgroup changed and shortened, clean and check shell scripts added
Added: trunk/tests/language-behaviour/arrays/020-array.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/020-array.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/020-array.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 020-array.out | grep 4 || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/020-array.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/020-array.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/020-array.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/020-array.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 020-array-* 020-array.xml 020-array.kml 020-array.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/020-array.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/tests/language-behaviour/arrays/020-array.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/020-array.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/020-array.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"020-array.out">;
Added: trunk/tests/language-behaviour/arrays/021-array-in-proc-param.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/021-array-in-proc-param.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/021-array-in-proc-param.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 021-array-in-proc-param.out | grep 1 || exit 0
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/021-array-in-proc-param.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/021-array-in-proc-param.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/021-array-in-proc-param.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/021-array-in-proc-param.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 021-array-in-proc-param.out 021-array-in-proc-param-* 021-array-in-proc-param.kml 021-array-in-proc-param.xml || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/021-array-in-proc-param.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/022-array-with-exprs.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/022-array-with-exprs.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/022-array-with-exprs.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 022-array-with-exprs.out | grep 22 || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/022-array-with-exprs.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/022-array-with-exprs.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/022-array-with-exprs.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/022-array-with-exprs.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 022-array-with-exprs-* 022-array-with-exprs.kml 022-array-with-exprs.xml 022-array-with-exprs.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/022-array-with-exprs.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/arrays/022-array-with-exprs.out.expected
===================================================================
--- trunk/tests/language-behaviour/arrays/022-array-with-exprs.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/022-array-with-exprs.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-22
Modified: trunk/tests/language-behaviour/arrays/022-array-with-exprs.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/022-array-with-exprs.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/022-array-with-exprs.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"022-array-with-exprs.out">;
Added: trunk/tests/language-behaviour/arrays/025-array-passing.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/025-array-passing.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/025-array-passing.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 025-array-passing.out | grep two || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/025-array-passing.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/025-array-passing.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/025-array-passing.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/025-array-passing.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 025-array-passing-* 025-array-passing.kml 025-array-passing.xml 025-array-passing.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/025-array-passing.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/tests/language-behaviour/arrays/025-array-passing.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/025-array-passing.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/025-array-passing.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(string m[]) {
- app {
+app (messagefile t) greeting(string m[]) {
echo m[1] stdout=@filename(t);
- }
}
messagefile outfile <"025-array-passing.out">;
Added: trunk/tests/language-behaviour/arrays/027-array-assignment.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/027-array-assignment.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/027-array-assignment.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 027-array-assignment.out | grep two || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/027-array-assignment.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/027-array-assignment.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/027-array-assignment.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/027-array-assignment.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 027-array-assignment.out 027-array-assignment-* 027-array-assignment.kml 027-array-assignment.xml || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/027-array-assignment.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/tests/language-behaviour/arrays/027-array-assignment.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/027-array-assignment.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/027-array-assignment.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(string m[]) {
- app {
+app (messagefile t) greeting(string m[]) {
echo m[1] stdout=@filename(t);
- }
}
messagefile outfile <"027-array-assignment.out">;
Added: trunk/tests/language-behaviour/arrays/028-array-assignment.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/028-array-assignment.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/028-array-assignment.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 027-array-assignment.out | grep two || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/028-array-assignment.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/028-array-assignment.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/028-array-assignment.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/028-array-assignment.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -x
+rm -r 027-array-assignment.out 027-array-assignment-* 027-array-assignment.kml 027-array-assignment.xml || exit 1
+exit 0
+
Property changes on: trunk/tests/language-behaviour/arrays/028-array-assignment.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/tests/language-behaviour/arrays/028-array-assignment.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/028-array-assignment.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/028-array-assignment.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(string m[]) {
- app {
+app (messagefile t) greeting(string m[]) {
echo m[1] stdout=@filename(t);
- }
}
messagefile outfile <"027-array-assignment.out">;
Added: trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm 029-array-assignment-* 029-array-assignment.kml 029-array-assignment.xml || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/029-array-assignment-sequence.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -7,4 +7,3 @@
e=d;
f=e;
g=f;
-
Modified: trunk/tests/language-behaviour/arrays/083-array-assign.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/083-array-assign.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/083-array-assign.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,13 +1,10 @@
type messagefile;
-(messagefile t) greeting(string m) {
- app {
+app (messagefile t) greeting(string m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile[];
outfile[0] = greeting("hi");
outfile[1] = greeting("bye");
-
Added: trunk/tests/language-behaviour/arrays/111-array-individual-assigns.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/111-array-individual-assigns.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/111-array-individual-assigns.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 111-array-individual-assigns | grep 100 || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/111-array-individual-assigns.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/111-array-individual-assigns.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/111-array-individual-assigns.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/111-array-individual-assigns.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 111-array-individual-assigns-* 111-array-individual-assigns.*ml 111-array-individual-assigns.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/111-array-individual-assigns.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/arrays/111-array-individual-assigns.out.expected
===================================================================
--- trunk/tests/language-behaviour/arrays/111-array-individual-assigns.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/111-array-individual-assigns.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-100
Modified: trunk/tests/language-behaviour/arrays/111-array-individual-assigns.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/111-array-individual-assigns.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/111-array-individual-assigns.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,4 +1,3 @@
-
int i[];
i[0]=1;
@@ -7,10 +6,8 @@
type messagefile;
-(messagefile t) p(int inp[]) {
- app {
+app (messagefile t) p(int inp[]) {
echo inp[1] stdout=@filename(t);
- }
}
messagefile outfile <"111-array-individual-assigns.out">;
Added: trunk/tests/language-behaviour/arrays/162-dot-on-array.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/162-dot-on-array.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/162-dot-on-array.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 162-dot-on-array.out | grep two-C || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/162-dot-on-array.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/162-dot-on-array.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/162-dot-on-array.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/162-dot-on-array.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 162-dot-on-array-* 162-dot-on-array.*ml 162-dot-on-array.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/162-dot-on-array.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/arrays/162-dot-on-array.out.expected
===================================================================
--- trunk/tests/language-behaviour/arrays/162-dot-on-array.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/162-dot-on-array.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-two-C
Modified: trunk/tests/language-behaviour/arrays/162-dot-on-array.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/162-dot-on-array.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/162-dot-on-array.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile;
-(messagefile t) greeting(string s) {
- app {
+app (messagefile t) greeting(string s) {
echo s stdout=@filename(t);
- }
}
messagefile outfile <"162-dot-on-array.out">;
Modified: trunk/tests/language-behaviour/arrays/array_multidimensional-2.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/array_multidimensional-2.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/array_multidimensional-2.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type file;
-(file t) echo_array (string s[][]) {
- app {
+app (file t) echo_array (string s[][]) {
echo s[0][0] s[1][0] s[1][1] stdout=@filename(t);
- }
}
string greetings[][];
Modified: trunk/tests/language-behaviour/arrays/array_multidimensional_assign.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/array_multidimensional_assign.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/array_multidimensional_assign.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type file {}
-(file t) echo_array (string s[][]) {
- app {
+app (file t) echo_array (string s[][]) {
echo s[0][0] s[1][0] s[1][1] stdout=@filename(t);
- }
}
string greetings[][];
Added: trunk/tests/language-behaviour/arrays/array_multidimensional_index.check.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/array_multidimensional_index.check.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/array_multidimensional_index.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+grep array_multidemnsional_index.out | grep 'left up down' || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/array_multidimensional_index.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/arrays/array_multidimensional_index.clean.sh
===================================================================
--- trunk/tests/language-behaviour/arrays/array_multidimensional_index.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/arrays/array_multidimensional_index.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r array_multidimensional_index-* array_multidimensional_index.*ml array_multidimensional_index.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/arrays/array_multidimensional_index.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/arrays/array_multidimensional_index.out.expected
===================================================================
--- trunk/tests/language-behaviour/arrays/array_multidimensional_index.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/array_multidimensional_index.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-left up down
Modified: trunk/tests/language-behaviour/arrays/array_multidimensional_index.swift
===================================================================
--- trunk/tests/language-behaviour/arrays/array_multidimensional_index.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/arrays/array_multidimensional_index.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type file {}
-(file t) echo_array (string s[][]) {
- app {
+app (file t) echo_array (string s[][]) {
echo s[0][0] s[1][0] s[1][1] stdout=@filename(t);
- }
}
string greetings[][] = [ [ "left", "right" ], ["up", "down"]];
Modified: trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.1.out.expected
===================================================================
--- trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.1.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.1.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +1,4 @@
-0032-strcat-mapper-param.1
+#!/bin/bash
+set -x
+cat 0032-strcat-mapper-param.1.out | grep 0032-strcat-mapper-param.1 || exit 1
+exit 0
Modified: trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.swift
===================================================================
--- trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/0032-strcat-mapper-param.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,18 +1,9 @@
type file;
-
-
-(file t) echo(string m) {
- app {
+app (file t) echo(string m) {
echo m stdout=@filename(t);
- }
}
-
-
-// file f1[] <filesys_mapper;pattern="0083-for*.in",location=".">;
-
-
+ // file f1[] <filesys_mapper;pattern="0083-for*.in",location=".">;
file f1 <"0032-strcat-mapper-param.1">;
-
- string fn = @filename(f1);
- file o <single_file_mapper;file=@strcat(fn,".out")>;
- o = echo(fn);
+string fn = @filename(f1);
+file o <single_file_mapper;file=@strcat(fn,".out")>;
+o = echo(fn);
Modified: trunk/tests/language-behaviour/mappers/070-singlefilemapper.out.expected
===================================================================
--- trunk/tests/language-behaviour/mappers/070-singlefilemapper.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/070-singlefilemapper.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +1,4 @@
-070-singlefilemapper.out
+#!/bin/bash
+set -x
+cat 070-singlefilemapper.out | grep 070-singlefilemapper.out || exit 1
+exit 0
Modified: trunk/tests/language-behaviour/mappers/070-singlefilemapper.swift
===================================================================
--- trunk/tests/language-behaviour/mappers/070-singlefilemapper.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/070-singlefilemapper.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,12 +1,6 @@
type messagefile;
-
-(messagefile t) write() {
- app {
- echo @filename(t) stdout=@filename(t);
- }
+app (messagefile t) write() {
+ echo @filename(t) stdout=@filename(t);
}
-
messagefile outfile <"070-singlefilemapper.out">;
-
outfile = write();
-
Modified: trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.check.sh
===================================================================
--- trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.check.sh 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,8 +1,4 @@
#!/bin/bash
-
set -x
-
-[ -f 071-singlefilemapper-input.in ] || exit 1
-grep 071-singlefilemapper-input.in 071-singlefilemapper-input.out || exit 1
-
+cat 071-singlefilemapper-input.out | grep || exit 1
exit 0
Modified: trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.clean.sh
===================================================================
--- trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.clean.sh 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/071-singlefilemapper-input.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -6,3 +6,7 @@
071-singlefilemapper-input.out || exit 1
exit 0
+#!/bin/bash
+set -x
+rm -r 071-singlefilemapper-input-* 071-singlefilemapper-input.*ml 071-singlefilemapper-input.out || exit 1
+exit 0
Modified: trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.check.sh
===================================================================
--- trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.check.sh 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,12 +1,4 @@
#!/bin/bash
-
set -x
-
-cat stdout.txt
-
-X=$( grep -c "file: 07511" stdout.txt )
-[ $? == 0 ] || exit 1
-echo $X
-(( $X == 3 )) || exit 1
-
+cat 07511-fixed-array-mapper-input.out | grep || exit 1
exit 0
Modified: trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.clean.sh
===================================================================
--- trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.clean.sh 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/mappers/07511-fixed-array-mapper-input.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -5,3 +5,7 @@
rm -v $GROUP/07511-fixed-array-mapper-input.*.in || exit 1
exit 0
+#!/bin/bash
+set -x
+rm -r 07511-fixed-array-mapper-input-* 07511-fixed-array-mapper-input.*ml 07511-fixed-array-mapper-input.out || exit 1
+exit 0
Added: trunk/tests/language-behaviour/math/006-add.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/006-add.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/006-add.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -x
+(cat 006-add.out | grep 135) || exit 1
+exit 0
+#!/bin/bash
+set -x
+cat 006-add.out | grep || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/006-add.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/006-add.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/006-add.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/006-add.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 006-add-* 006-add.*ml 006-add.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/006-add.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/006-add.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/006-add.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/006-add.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-135
Added: trunk/tests/language-behaviour/math/007-add-in-proc-add.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/007-add-in-proc-add.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/007-add-in-proc-add.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 007-add-in-proc-add.out | grep 189|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/007-add-in-proc-add.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/007-add-in-proc-add.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/007-add-in-proc-add.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/007-add-in-proc-add.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 007-add-in-proc-add-* 007-add-in-proc-add.*ml 007-add-in-proc-add.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/007-add-in-proc-add.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/007-add-in-proc-add.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/007-add-in-proc-add.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/007-add-in-proc-add.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-189
Modified: trunk/tests/language-behaviour/math/007-add-in-proc-add.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/007-add-in-proc-add.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/007-add-in-proc-add.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"007-add-in-proc-add.out">;
Added: trunk/tests/language-behaviour/math/008-add-multiply.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/008-add-multiply.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/008-add-multiply.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 008-add-multiply.out | grep 8|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/008-add-multiply.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/008-add-multiply.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/008-add-multiply.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/008-add-multiply.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 008-add-multiply-* 008-add-multiply.*ml 008-add-multiply.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/008-add-multiply.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/008-add-multiply.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/008-add-multiply.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/008-add-multiply.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-8
Modified: trunk/tests/language-behaviour/math/008-add-multiply.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/008-add-multiply.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/008-add-multiply.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"008-add-multiply.out">;
Added: trunk/tests/language-behaviour/math/009-multiply.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/009-multiply.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/009-multiply.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 009-multiply.out | grep 42|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/009-multiply.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/009-multiply.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/009-multiply.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/009-multiply.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 009-multiply-* 009-multiply.*ml 009-multiply.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/009-multiply.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/009-multiply.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/009-multiply.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/009-multiply.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-42
Modified: trunk/tests/language-behaviour/math/009-multiply.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/009-multiply.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/009-multiply.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"009-multiply.out">;
Added: trunk/tests/language-behaviour/math/010-divide.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/010-divide.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/010-divide.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 010-divide.out | grep 33|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/010-divide.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/010-divide.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/010-divide.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/010-divide.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 010-divide-* 010-divide.*ml 010-divide.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/010-divide.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/010-divide.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/010-divide.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/010-divide.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-33
Added: trunk/tests/language-behaviour/math/011-divide-float.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/011-divide-float.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/011-divide-float.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 011-divide-float.out | grep 0.3333333333333333|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/011-divide-float.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/011-divide-float.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/011-divide-float.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/011-divide-float.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 011-divide-float-* 011-divide-float.*ml 011-divide-float.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/011-divide-float.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/011-divide-float.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/011-divide-float.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/011-divide-float.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-0.3333333333333333
Modified: trunk/tests/language-behaviour/math/011-divide-float.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/011-divide-float.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/011-divide-float.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(float m) {
- app {
+app (messagefile t) greeting(float m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"011-divide-float.out">;
Added: trunk/tests/language-behaviour/math/013-mod.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/013-mod.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/013-mod.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 013-mod.out | grep 19|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/013-mod.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/013-mod.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/013-mod.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/013-mod.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 013-mod-* 013-mod.*ml 013-mod.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/013-mod.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/013-mod.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/013-mod.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/013-mod.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-19
Modified: trunk/tests/language-behaviour/math/013-mod.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/013-mod.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/013-mod.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"013-mod.out">;
Added: trunk/tests/language-behaviour/math/014-subtract.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/014-subtract.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/014-subtract.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 014-subtract.out | grep '\-37'|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/014-subtract.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/014-subtract.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/014-subtract.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/014-subtract.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 014-subtract-* 014-subtract.*ml 014-subtract.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/014-subtract.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/014-subtract.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/014-subtract.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/014-subtract.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
--37
Modified: trunk/tests/language-behaviour/math/014-subtract.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/014-subtract.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/014-subtract.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"014-subtract.out">;
Added: trunk/tests/language-behaviour/math/0145-unary-subtact.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/0145-unary-subtact.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/0145-unary-subtact.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 0145-unary-subtact.out | grep '\-989929'|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/0145-unary-subtact.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/0145-unary-subtact.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/0145-unary-subtact.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/0145-unary-subtact.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 0145-unary-subtact-* 0145-unary-subtact.*ml 0145-unary-subtact.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/0145-unary-subtact.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/0145-unary-subtact.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/0145-unary-subtact.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/0145-unary-subtact.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
--989929
Modified: trunk/tests/language-behaviour/math/0145-unary-subtact.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/0145-unary-subtact.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/0145-unary-subtact.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(int m) {
- app {
+app (messagefile t) greeting(int m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"0145-unary-subtact.out">;
Added: trunk/tests/language-behaviour/math/015-lesseq.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/015-lesseq.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/015-lesseq.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 015-lesseq.out | grep true|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/015-lesseq.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/015-lesseq.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/015-lesseq.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/015-lesseq.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 015-lesseq-* 015-lesseq.*ml 015-lesseq.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/015-lesseq.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/015-lesseq.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/015-lesseq.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/015-lesseq.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-true
Modified: trunk/tests/language-behaviour/math/015-lesseq.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/015-lesseq.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/015-lesseq.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(boolean m) {
- app {
+app (messagefile t) greeting(boolean m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"015-lesseq.out">;
Added: trunk/tests/language-behaviour/math/016-greatereq.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/016-greatereq.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/016-greatereq.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 016-greatereq.out | grep false|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/016-greatereq.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/016-greatereq.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/016-greatereq.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/016-greatereq.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 016-greatereq-* 016-greatereq.*ml 016-greatereq.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/016-greatereq.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/016-greatereq.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/016-greatereq.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/016-greatereq.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-false
Modified: trunk/tests/language-behaviour/math/016-greatereq.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/016-greatereq.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/016-greatereq.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(boolean m) {
- app {
+app (messagefile t) greeting(boolean m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"016-greatereq.out">;
Added: trunk/tests/language-behaviour/math/017-greater.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/017-greater.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/017-greater.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 017-greater.out | grep false|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/017-greater.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/017-greater.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/017-greater.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/017-greater.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 017-greater-* 017-greater.*ml 017-greater.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/017-greater.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/017-greater.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/017-greater.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/017-greater.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-false
Modified: trunk/tests/language-behaviour/math/017-greater.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/017-greater.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/017-greater.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(boolean m) {
- app {
+app (messagefile t) greeting(boolean m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"017-greater.out">;
Added: trunk/tests/language-behaviour/math/018-less.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/018-less.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/018-less.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 018-less.out | grep true|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/018-less.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/018-less.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/018-less.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/018-less.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 018-less-* 018-less.*ml 018-less.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/018-less.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/018-less.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/018-less.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/018-less.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-true
Modified: trunk/tests/language-behaviour/math/018-less.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/018-less.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/018-less.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(boolean m) {
- app {
+app (messagefile t) greeting(boolean m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"018-less.out">;
Added: trunk/tests/language-behaviour/math/019-equals.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/019-equals.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/019-equals.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 019-equals.out | grep false|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/019-equals.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/019-equals.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/019-equals.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/019-equals.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 019-equals-* 019-equals.*ml 019-equals.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/019-equals.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/019-equals.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/019-equals.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/019-equals.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-false
Modified: trunk/tests/language-behaviour/math/019-equals.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/019-equals.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/019-equals.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,11 +1,8 @@
type messagefile {}
-(messagefile t) greeting(boolean m) {
- app {
+app (messagefile t) greeting(boolean m) {
echo m stdout=@filename(t);
- }
}
-
messagefile outfile <"019-equals.out">;
boolean i = 7==9;
Added: trunk/tests/language-behaviour/math/0191-not-equals.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/0191-not-equals.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/0191-not-equals.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 0191-not-equals.out | grep true || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/0191-not-equals.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/0191-not-equals.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/0191-not-equals.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/0191-not-equals.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 0191-not-equals-* 0191-not-equals.*ml 0191-not-equals.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/0191-not-equals.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/0191-not-equals.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/0191-not-equals.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/0191-not-equals.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-true
Modified: trunk/tests/language-behaviour/math/0191-not-equals.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/0191-not-equals.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/0191-not-equals.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(boolean m) {
- app {
+app (messagefile t) greeting(boolean m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"0191-not-equals.out">;
Added: trunk/tests/language-behaviour/math/030-mix-float-int.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/030-mix-float-int.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/030-mix-float-int.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 030-mix-float-int.out | grep 54.3|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/030-mix-float-int.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/030-mix-float-int.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/030-mix-float-int.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/030-mix-float-int.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 030-mix-float-int-* 030-mix-float-int.*ml 030-mix-float-int.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/030-mix-float-int.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/030-mix-float-int.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/030-mix-float-int.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/030-mix-float-int.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-54.3
Modified: trunk/tests/language-behaviour/math/030-mix-float-int.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/030-mix-float-int.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/030-mix-float-int.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(float m) {
- app {
+app (messagefile t) greeting(float m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"030-mix-float-int.out">;
Added: trunk/tests/language-behaviour/math/031-add-float.check.sh
===================================================================
--- trunk/tests/language-behaviour/math/031-add-float.check.sh (rev 0)
+++ trunk/tests/language-behaviour/math/031-add-float.check.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+cat 031-add-float.out | grep 135.3|| exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/031-add-float.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/language-behaviour/math/031-add-float.clean.sh
===================================================================
--- trunk/tests/language-behaviour/math/031-add-float.clean.sh (rev 0)
+++ trunk/tests/language-behaviour/math/031-add-float.clean.sh 2011-06-22 14:58:34 UTC (rev 4652)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -r 031-add-float-* 031-add-float.*ml 031-add-float.out || exit 1
+exit 0
Property changes on: trunk/tests/language-behaviour/math/031-add-float.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/tests/language-behaviour/math/031-add-float.out.expected
===================================================================
--- trunk/tests/language-behaviour/arithmetic/031-add-float.out.expected 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/031-add-float.out.expected 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1 +0,0 @@
-135.3
Modified: trunk/tests/language-behaviour/math/031-add-float.swift
===================================================================
--- trunk/tests/language-behaviour/arithmetic/031-add-float.swift 2011-06-20 21:53:18 UTC (rev 4651)
+++ trunk/tests/language-behaviour/math/031-add-float.swift 2011-06-22 14:58:34 UTC (rev 4652)
@@ -1,9 +1,7 @@
type messagefile {}
-(messagefile t) greeting(float m) {
- app {
+app (messagefile t) greeting(float m) {
echo m stdout=@filename(t);
- }
}
messagefile outfile <"031-add-float.out">;
More information about the Swift-commit
mailing list