Revision b9cb073637ed17f7c31244c6e6d4a4c7fdc4c916 authored by Kristoffer Carlsson on 17 January 2018, 03:54:14 UTC, committed by Jeff Bezanson on 17 January 2018, 03:54:14 UTC
1 parent cb23538
Makefile
SRCDIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
JULIAHOME := $(abspath $(SRCDIR)/..)
BUILDDIR := .
STDLIBDIR := $(abspath $(JULIAHOME)/stdlib)
include $(JULIAHOME)/Make.inc
# TODO: this Makefile ignores BUILDDIR, except for computing JULIA_EXECUTABLE
TESTGROUPS = linalg sparse unicode strings dates
TESTS = all stdlib $(TESTGROUPS) \
$(patsubst $(STDLIBDIR)/%/,%,$(dir $(wildcard $(STDLIBDIR)/*/.))) \
$(filter-out TestHelpers runtests testdefs, \
$(patsubst $(SRCDIR)/%.jl,%,$(wildcard $(SRCDIR)/*.jl))) \
$(foreach group,$(TESTGROUPS), \
$(patsubst $(SRCDIR)/%.jl,%,$(wildcard $(SRCDIR)/$(group)/*.jl)))
# run `make print-TESTS` to see a list of all tests that can be run
default: all
$(TESTS):
@cd $(SRCDIR) && \
$(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no ./runtests.jl $@)
perf:
@$(MAKE) -C $(SRCDIR)/perf all
clean:
@$(MAKE) -C perf $@
.PHONY: $(TESTS) perf clean
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...