diff options
Diffstat (limited to 'lib/compiler/Makefile')
-rw-r--r-- | lib/compiler/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/compiler/Makefile b/lib/compiler/Makefile index 2edc743677..a7d896f258 100644 --- a/lib/compiler/Makefile +++ b/lib/compiler/Makefile @@ -1,7 +1,7 @@ # # %CopyrightBegin% # -# Copyright Ericsson AB 1996-2021. All Rights Reserved. +# Copyright Ericsson AB 1996-2022. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -39,3 +39,9 @@ include $(ERL_TOP)/make/otp_subdir.mk DIA_PLT_APPS=crypto include $(ERL_TOP)/make/app_targets.mk + +# Enable feature maybe_expr in runtime when running tests +# Note: this overrides, and uses, test target in app_targets.mk +.PHONY: test +test: + $(MAKE) ERL_ARGS="-enable-feature maybe_expr $(ERL_ARGS)" -f $(ERL_TOP)/make/app_targets.mk $@ |