aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-03-21 07:28:48 +0100
committerBjörn Gustavsson <[email protected]>2017-03-21 07:28:48 +0100
commitf5d23b7b7146f4375dfefe00b208fdfc360d6bcc (patch)
tree93d02f708b7ef85e9bb30cd4c5616bf6baecc353 /lib/compiler/test/Makefile
parenta85efc31824b4d59f4ed1eefcd19e9d7c6ef021f (diff)
downloadotp-f5d23b7b7146f4375dfefe00b208fdfc360d6bcc.tar.gz
otp-f5d23b7b7146f4375dfefe00b208fdfc360d6bcc.tar.bz2
otp-f5d23b7b7146f4375dfefe00b208fdfc360d6bcc.zip
compiler tests: Eliminate creation of untracked files
Two dummy .erl files are created while releasing the tests for the compiler. Remove the files after they have been copied to the release directory to avoid that they show up as untracked files in the output of "git status".
Diffstat (limited to 'lib/compiler/test/Makefile')
-rw-r--r--lib/compiler/test/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/test/Makefile b/lib/compiler/test/Makefile
index e338dbb4e3..63763f31b2 100644
--- a/lib/compiler/test/Makefile
+++ b/lib/compiler/test/Makefile
@@ -185,6 +185,7 @@ release_tests_spec: make_emakefile
echo "-module($$module). %% dummy .erl file" >$$file; \
done
$(INSTALL_DATA) $(ERL_DUMMY_FILES) "$(RELSYSDIR)"
+ rm $(ERL_DUMMY_FILES)
chmod -R u+w "$(RELSYSDIR)"
@tar cf - *_SUITE_data | (cd "$(RELSYSDIR)"; tar xf -)