From 930d683a0898283962577ae279fc2307a73b7ae3 Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Sun, 9 Oct 2016 19:30:01 +0200 Subject: [PATCH] Hack: don't force bounds checking when running tests --- .travis.yml | 4 ++-- appveyor.yml | 4 ++-- test/Makefile | 2 +- test/boundscheck.jl | 2 +- test/runtests.jl | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index cacc3f81b3827..3c5aafeb816c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -126,8 +126,8 @@ script: /tmp/julia/bin/julia-debug --precompiled=no -e 'true' - /tmp/julia/bin/julia -e 'versioninfo()' - export JULIA_CPU_CORES=2 && export JULIA_TEST_MAXRSS_MB=600 && cd /tmp/julia/share/julia/test && - /tmp/julia/bin/julia --check-bounds=yes runtests.jl $TESTSTORUN && - /tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online pkg + /tmp/julia/bin/julia runtests.jl $TESTSTORUN && + /tmp/julia/bin/julia runtests.jl libgit2-online pkg - cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia && rm -rf julia/deps/scratch/julia-env && rm -f julia/deps/scratch/libgit2-*/CMakeFiles/CMakeOutput.log diff --git a/appveyor.yml b/appveyor.yml index 0d573f4c25f73..7f722ba0bfdef 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -55,5 +55,5 @@ build_script: test_script: - usr\bin\julia -e "versioninfo()" - usr\bin\julia --precompiled=no -e "true" - - cd test && ..\usr\bin\julia --check-bounds=yes runtests.jl all && - ..\usr\bin\julia --check-bounds=yes runtests.jl libgit2-online pkg + - cd test && ..\usr\bin\julia runtests.jl all && + ..\usr\bin\julia runtests.jl libgit2-online pkg diff --git a/test/Makefile b/test/Makefile index 66156a74c7a61..15a093a93c47a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -9,7 +9,7 @@ TESTS = all linalg sparse unicode strings dates $(filter-out TestHelpers runtest default: all $(TESTS): - @cd $(SRCDIR) && $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no ./runtests.jl $@) + @cd $(SRCDIR) && $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --startup-file=no ./runtests.jl $@) perf: @$(MAKE) -C $(SRCDIR)/perf all diff --git a/test/boundscheck.jl b/test/boundscheck.jl index 80181e21f734d..b68093643a033 100644 --- a/test/boundscheck.jl +++ b/test/boundscheck.jl @@ -7,7 +7,7 @@ if !success(pipeline(cmd; stdout=STDOUT, stderr=STDERR)) error("boundscheck test failed, cmd : $cmd") end -cmd = `$(Base.julia_cmd()) --check-bounds=yes --startup-file=no --depwarn=error boundscheck_exec.jl` +cmd = `$(Base.julia_cmd()) --startup-file=no --depwarn=error boundscheck_exec.jl` if !success(pipeline(cmd; stdout=STDOUT, stderr=STDERR)) error("boundscheck test failed, cmd : $cmd") end diff --git a/test/runtests.jl b/test/runtests.jl index 8706b5ddb64db..4a317103b1c3b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -13,7 +13,7 @@ end if haskey(ENV, "JULIA_TEST_EXEFLAGS") const test_exeflags = `$(Base.shell_split(ENV["JULIA_TEST_EXEFLAGS"]))` else - const test_exeflags = `--check-bounds=yes --startup-file=no --depwarn=error` + const test_exeflags = `--startup-file=no --depwarn=error` end if haskey(ENV, "JULIA_TEST_EXENAME")