[Swift-commit] r2154 - trunk/tests/language-behaviour
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Tue Jul 29 02:29:01 CDT 2008
Author: benc
Date: 2008-07-29 02:29:00 -0500 (Tue, 29 Jul 2008)
New Revision: 2154
Added:
trunk/tests/language-behaviour/0756-ext-mapper-slow.sh
trunk/tests/language-behaviour/0756-ext-mapper-slow.swift
trunk/tests/language-behaviour/0757-ext-mapper-array.sh
trunk/tests/language-behaviour/0757-ext-mapper-array.swift
Log:
two more tests for the external mapper
Added: trunk/tests/language-behaviour/0756-ext-mapper-slow.sh
===================================================================
--- trunk/tests/language-behaviour/0756-ext-mapper-slow.sh (rev 0)
+++ trunk/tests/language-behaviour/0756-ext-mapper-slow.sh 2008-07-29 07:29:00 UTC (rev 2154)
@@ -0,0 +1,8 @@
+#!/bin/bash
+sleep 10s
+echo "[0].l 0756-ext-mapper.AAA.out"
+sleep 10s
+echo "[1].r 0756-ext-mapper.0.3.2.1.out"
+sleep 10s
+echo "[2].l 0756-ext-mapper.____.out"
+sleep 10s
Property changes on: trunk/tests/language-behaviour/0756-ext-mapper-slow.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/tests/language-behaviour/0756-ext-mapper-slow.swift
===================================================================
--- trunk/tests/language-behaviour/0756-ext-mapper-slow.swift (rev 0)
+++ trunk/tests/language-behaviour/0756-ext-mapper-slow.swift 2008-07-29 07:29:00 UTC (rev 2154)
@@ -0,0 +1,19 @@
+type messagefile;
+
+type cols {
+ messagefile l;
+ messagefile r;
+}
+
+(messagefile t) write(string s) {
+ app {
+ echo s stdout=@filename(t);
+ }
+}
+
+cols outfile[] <ext; exec="./0756-ext-mapper-slow.sh">;
+
+outfile[0].l = write("slot 0");
+outfile[1].r = write("slot 1");
+outfile[2].l = write("slot 2");
+
Added: trunk/tests/language-behaviour/0757-ext-mapper-array.sh
===================================================================
--- trunk/tests/language-behaviour/0757-ext-mapper-array.sh (rev 0)
+++ trunk/tests/language-behaviour/0757-ext-mapper-array.sh 2008-07-29 07:29:00 UTC (rev 2154)
@@ -0,0 +1,4 @@
+echo "[0] 0757-ext-mapper-array.AAA.out"
+echo "[1] 0757-ext-mapper-array.0.3.2.1.out"
+echo "[2] 0757-ext-mapper-array.____.out"
+
Property changes on: trunk/tests/language-behaviour/0757-ext-mapper-array.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/tests/language-behaviour/0757-ext-mapper-array.swift
===================================================================
--- trunk/tests/language-behaviour/0757-ext-mapper-array.swift (rev 0)
+++ trunk/tests/language-behaviour/0757-ext-mapper-array.swift 2008-07-29 07:29:00 UTC (rev 2154)
@@ -0,0 +1,14 @@
+type messagefile;
+
+(messagefile t) write(string s) {
+ app {
+ echo s stdout=@filename(t);
+ }
+}
+
+messagefile outfile[] <ext; exec="./0757-ext-mapper-array.sh">;
+
+outfile[0] = write("slot 0");
+outfile[1] = write("slot 1");
+outfile[2] = write("slot 2");
+
More information about the Swift-commit
mailing list