diff options
author | Loïc Hoguin <[email protected]> | 2016-10-19 15:27:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-10-19 15:27:16 +0200 |
commit | 01ed1866afdbdfaa966bf5be5aab30d6525aa962 (patch) | |
tree | ce754bef7d5ce4aa3ece99e440543717453973a4 /test | |
parent | 40f3cd4ef56ba8073cf7e74453256075f2cbc5b2 (diff) | |
download | erlang.mk-01ed1866afdbdfaa966bf5be5aab30d6525aa962.tar.gz erlang.mk-01ed1866afdbdfaa966bf5be5aab30d6525aa962.tar.bz2 erlang.mk-01ed1866afdbdfaa966bf5be5aab30d6525aa962.zip |
Cosmetic changes to previous merge
Diffstat (limited to 'test')
-rw-r--r-- | test/core_app.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test/core_app.mk b/test/core_app.mk index d8af62b..22424ee 100644 --- a/test/core_app.mk +++ b/test/core_app.mk @@ -1,6 +1,6 @@ # Core: Building applications. -CORE_APP_CASES = appsrc-change asn1 auto-git-id erlc-exclude erlc-opts erlc-opts-filter error generate-erl generate-erl-include generate-erl-prepend hrl hrl-recursive makefile-change mib no-app no-makedep project-mod pt pt-erlc-opts xrl xrl-include yrl yrl-include yrl-header +CORE_APP_CASES = appsrc-change asn1 auto-git-id erlc-exclude erlc-opts erlc-opts-filter error generate-erl generate-erl-include generate-erl-prepend hrl hrl-recursive makefile-change mib no-app no-makedep project-mod pt pt-erlc-opts xrl xrl-include yrl yrl-header yrl-include CORE_APP_TARGETS = $(addprefix core-app-,$(CORE_APP_CASES)) .PHONY: core-app $(CORE_APP_TARGETS) @@ -1467,22 +1467,20 @@ core-app-yrl-header: build clean $i "Create the yrl header file" $t mkdir $(APP)/include $t echo "-export([forty_two/0])." > $(APP)/include/yecc_header.hrl - # a bunch of gobbldygook we don't actually care about, we just - # need to exist so we don't get errors. - $t echo "-export([ yeccpars1/5, yeccerror/1, yeccpars2/7, yeccpars2_0/7, yeccpars2_1/7, yeccpars2_2/7, yeccpars2_3/7, yeccpars2_5/7, yeccpars2_6/7, yeccpars2_7/7, yeccpars2_9/7, yeccpars2_11/7, 'yeccgoto_\'E\''/7, 'yeccgoto_\'F\''/7, 'yeccgoto_\'T\''/7, yeccpars2_9_/1, yeccpars2_11_/1, yeccpars2_7_/1])." >> $(APP)/include/yecc_header.hrl +# A bunch of gobbldygook we don't actually care about, they just +# need to exist so we don't get errors. + $t echo "-export([yeccpars1/5, yeccerror/1, yeccpars2/7, yeccpars2_0/7, yeccpars2_1/7, yeccpars2_2/7, yeccpars2_3/7, yeccpars2_5/7, yeccpars2_6/7, yeccpars2_7/7, yeccpars2_9/7, yeccpars2_11/7, 'yeccgoto_\'E\''/7, 'yeccgoto_\'F\''/7, 'yeccgoto_\'T\''/7, yeccpars2_9_/1, yeccpars2_11_/1, yeccpars2_7_/1])." >> $(APP)/include/yecc_header.hrl $t echo "yeccpars1(_,_,_,_,_) -> throw(not_implemented)." >> $(APP)/include/yecc_header.hrl $t echo "yeccerror(_) -> throw(not_implemented)." >> $(APP)/include/yecc_header.hrl - # and required bits done, now part we'll actually test for. +# Required bits done, now part we'll actually test for. $t echo "forty_two() -> 42." >> $(APP)/include/yecc_header.hrl - $i "Generate unrelated .erl files" $t echo "-module(boy)." > $(APP)/src/boy.erl $t echo "-module(girl)." > $(APP)/src/girl.erl $i "Build the application" $t YRL_ERLC_OPTS="-I include/yecc_header.hrl" $(MAKE) -C $(APP) $v -# $t $(MAKE) -C $(APP) $v $i "Check that all compiled files exist" $t test -f $(APP)/$(APP).d |