Add Swift test.
This commit is contained in:
parent
3a7d5520c6
commit
b185f2caf5
|
|
@ -168,6 +168,9 @@ imageTests+=(
|
|||
ruby-bundler
|
||||
ruby-nonroot
|
||||
'
|
||||
[swift]='
|
||||
swift-hello-world
|
||||
'
|
||||
[tomcat]='
|
||||
tomcat-hello-world
|
||||
'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
testDir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
|
||||
runDir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
||||
|
||||
source "$runDir/run-in-container.sh" "$testDir" "$1" swift ./container.swift
|
||||
|
|
@ -0,0 +1 @@
|
|||
print("Hello, world!")
|
||||
|
|
@ -0,0 +1 @@
|
|||
Hello, world!
|
||||
|
|
@ -0,0 +1 @@
|
|||
../run-swift-in-container.sh
|
||||
Loading…
Reference in New Issue