| 1 | diff --git a/tests/compile-tests/Make.lang b/tests/compile-tests/Make.lang
|
| 2 | index 987b68803a..f1ea9be189 100644
|
| 3 | |
| 4 | |
| 5 | @@ -15,6 +15,7 @@ SAMPLESROOT := ../..
|
| 6 | REGRESSION := ..
|
| 7 | FAUSTLIBS1 ?= ../../libraries
|
| 8 | FAUSTLIBS2 ?= ../../libraries/old
|
| 9 | +FAUSTLIBS3 ?= ../../libraries/dx7
|
| 10 |
|
| 11 | FAUSTOPTIONS ?=
|
| 12 | outdir ?= cpp
|
| 13 | @@ -96,8 +97,8 @@ $(version)/$(outdir):
|
| 14 | # generic rule rule for $(lang) output
|
| 15 | $(version)/$(outdir)/%.$(ext): $(SAMPLESROOT)/%.dsp
|
| 16 | @[ -d $(@D) ] || mkdir -p $(@D)
|
| 17 | - $(FAUST) -lang $(lang) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) $(FAUSTOPTIONS) $< -o $@
|
| 18 | + $(FAUST) -lang $(lang) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) -I $(FAUSTLIBS3) $(FAUSTOPTIONS) $< -o $@
|
| 19 |
|
| 20 | $(version)/$(outdir)/%.$(ext): $(REGRESSION)/%.dsp
|
| 21 | @[ -d $(@D) ] || mkdir -p $(@D)
|
| 22 | - $(FAUST) -lang $(lang) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) $(FAUSTOPTIONS) $< -o $@
|
| 23 | + $(FAUST) -lang $(lang) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) -I $(FAUSTLIBS3) $(FAUSTOPTIONS) $< -o $@
|
| 24 | diff --git a/tests/compile-tests/Makefile b/tests/compile-tests/Makefile
|
| 25 | index 4e42033821..87b8b3977c 100644
|
| 26 | |
| 27 | |
| 28 | @@ -19,6 +19,7 @@ SAMPLESROOT := ../..
|
| 29 | REGRESSION := ..
|
| 30 | FAUSTLIBS1 ?= ../../libraries
|
| 31 | FAUSTLIBS2 ?= ../../libraries/old
|
| 32 | +FAUSTLIBS3 ?= ../../libraries/dx7
|
| 33 | FAUSTINC ?= ../../architecture/faust
|
| 34 |
|
| 35 | # Lists of DSPs used by the JSON targets (examples + codegen-tests, minus exclusions)
|
| 36 | @@ -52,7 +53,7 @@ bench_value() { \
|
| 37 | : Run faustbench and echo the parsed MBytes/sec value.; \
|
| 38 | file="$$1"; \
|
| 39 | tmp=$$(mktemp); \
|
| 40 | - if $(FAUSTBENCH) $(BENCH_OPTIONS) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) "$$file" > "$$tmp" 2>&1; then \
|
| 41 | + if $(FAUSTBENCH) $(BENCH_OPTIONS) -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) -I $(FAUSTLIBS3) "$$file" > "$$tmp" 2>&1; then \
|
| 42 | line="$$(grep -m1 'MBytes/sec' "$$tmp" || true)"; \
|
| 43 | if [ -n "$$line" ]; then \
|
| 44 | val="$$(printf '%s\n' "$$line" | sed -nE 's/.*: ([0-9.]+) MBytes\/sec.*/\1/p')"; \
|
| 45 | @@ -320,7 +321,7 @@ for file in $(DSP_EXAMPLES) $(DSP_REGRESSION); do \
|
| 46 | esac; \
|
| 47 | dest=$$outdir/$$(dirname -- "$$rel"); \
|
| 48 | mkdir -p "$$dest"; \
|
| 49 | - $(FAUST) -lang cpp -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) -json "$$file" -O "$$dest" > /dev/null; \
|
| 50 | + $(FAUST) -lang cpp -I $(FAUSTLIBS1) -I $(FAUSTLIBS2) -I $(FAUSTLIBS3) -json "$$file" -O "$$dest" > /dev/null; \
|
| 51 | done
|
| 52 | endef
|
| 53 |
|