Revision eec73f1fe5aae5716df41a6928b9e2d50ec2bed4 authored by Kristoffer Carlsson on 25 February 2018, 11:02:42 UTC, committed by Kristoffer Carlsson on 25 February 2018, 11:02:42 UTC
This reverts commit b098bdc553b1754e9476b9e391467088e148cd05, reversing changes made to b1189ce2d52c54b43c079b9644e7eb77f9cd6e8f.
1 parent 9ad38a0
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 = unicode strings
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
EMBEDDING_ARGS := JULIA=$(JULIA_EXECUTABLE) BIN=$(SRCDIR)/embedding
default: all
$(TESTS):
@cd $(SRCDIR) && \
$(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no ./runtests.jl $@)
embedding:
@$(MAKE) -C $(SRCDIR)/$@ check $(EMBEDDING_ARGS)
perf:
@$(MAKE) -C $(SRCDIR)/perf all
clean:
@$(MAKE) -C embedding $@ $(EMBEDDING_ARGS)
@$(MAKE) -C perf $@
.PHONY: $(TESTS) embedding perf clean
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...