Skip to content

Commit e062942

Browse files
committed
Hack: don't force bounds checking when running tests
1 parent 699ddab commit e062942

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ script:
126126
/tmp/julia/bin/julia-debug --precompiled=no -e 'true'
127127
- /tmp/julia/bin/julia -e 'versioninfo()'
128128
- export JULIA_CPU_CORES=2 && export JULIA_TEST_MAXRSS_MB=600 && cd /tmp/julia/share/julia/test &&
129-
/tmp/julia/bin/julia --check-bounds=yes runtests.jl $TESTSTORUN &&
130-
/tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online pkg
129+
/tmp/julia/bin/julia runtests.jl $TESTSTORUN &&
130+
/tmp/julia/bin/julia runtests.jl libgit2-online pkg
131131
- cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia &&
132132
rm -rf julia/deps/scratch/julia-env &&
133133
rm -f julia/deps/scratch/libgit2-*/CMakeFiles/CMakeOutput.log

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ build_script:
5555
test_script:
5656
- usr\bin\julia -e "versioninfo()"
5757
- usr\bin\julia --precompiled=no -e "true"
58-
- cd test && ..\usr\bin\julia --check-bounds=yes runtests.jl all &&
59-
..\usr\bin\julia --check-bounds=yes runtests.jl libgit2-online pkg
58+
- cd test && ..\usr\bin\julia runtests.jl all &&
59+
..\usr\bin\julia runtests.jl libgit2-online pkg

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TESTS = all linalg sparse unicode strings dates $(filter-out TestHelpers runtest
99
default: all
1010

1111
$(TESTS):
12-
@cd $(SRCDIR) && $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no ./runtests.jl $@)
12+
@cd $(SRCDIR) && $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --startup-file=no ./runtests.jl $@)
1313

1414
perf:
1515
@$(MAKE) -C $(SRCDIR)/perf all

test/boundscheck.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if !success(pipeline(cmd; stdout=STDOUT, stderr=STDERR))
77
error("boundscheck test failed, cmd : $cmd")
88
end
99

10-
cmd = `$(Base.julia_cmd()) --check-bounds=yes --startup-file=no --depwarn=error boundscheck_exec.jl`
10+
cmd = `$(Base.julia_cmd()) --startup-file=no --depwarn=error boundscheck_exec.jl`
1111
if !success(pipeline(cmd; stdout=STDOUT, stderr=STDERR))
1212
error("boundscheck test failed, cmd : $cmd")
1313
end

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ end
1313
if haskey(ENV, "JULIA_TEST_EXEFLAGS")
1414
const test_exeflags = `$(Base.shell_split(ENV["JULIA_TEST_EXEFLAGS"]))`
1515
else
16-
const test_exeflags = `--check-bounds=yes --startup-file=no --depwarn=error`
16+
const test_exeflags = `--startup-file=no --depwarn=error`
1717
end
1818

1919
if haskey(ENV, "JULIA_TEST_EXENAME")

0 commit comments

Comments
 (0)