mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 08:34:34 +02:00
Use echo to test native bootstrap generation
This commit is contained in:
+2
-2
@@ -198,8 +198,8 @@ testBootstrap() {
|
||||
testNativeBootstrap() {
|
||||
if is212 && [ "$NATIVE" = "1" ]; then
|
||||
sbt ++${SCALA_VERSION} "project cli" pack
|
||||
cli/target/pack/bin/coursier bootstrap -S -o native-test io.get-coursier.scala-native::sandbox_native0.3:0.3.0-coursier-1
|
||||
if [ "$(./native-test)" != "Hello, World!" ]; then
|
||||
cli/target/pack/bin/coursier bootstrap -S -o native-echo io.get-coursier:echo_native0.3_2.11:1.0.1
|
||||
if [ "$(./native-echo -n foo a)" != "foo a" ]; then
|
||||
echo "Error: unexpected output from native test bootstrap." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user