From 30d61e3eb0c62bac9e1f7fa4b833b3d4c7321d3e Mon Sep 17 00:00:00 2001 From: kornilova-l Date: Fri, 13 Jul 2018 14:55:07 +0300 Subject: [PATCH] Do not run memory checks in build with llvm 5.0 --- build.sbt | 6 ++++++ scripts/test.sh | 6 +++++- .../test/scala/org/scalanative/bindgen/BindgenSpec.scala | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 2acde02..90284ba 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,12 @@ import scala.sys.process._ addCommandAlias("verify", "; ^test:compile ; ^test ; ^scripted ; docs/makeSite") +addCommandAlias( + "verifyWithoutMemoryChecks", + "; ^test:compile ; " + + "^testOnly -- -z \"should exist\" -z \"correct bindings\" ; " + + "^scripted ; " + + "docs/makeSite") val Versions = new { val scala210 = "2.10.6" diff --git a/scripts/test.sh b/scripts/test.sh index 8f3e3cd..98d8c6f 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -13,4 +13,8 @@ if [[ ! -e bindgen/target/.llvm-version ]] || [[ "$(