aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-01-23 12:12:23 +0100
committerBjörn Gustavsson <[email protected]>2010-01-29 17:43:37 +0100
commitb8b3a8c7d7d01cc4126dc4961c4f5de6afc1b066 (patch)
tree839a79cfe39ca5665975de1f99d6489380b7e87a /lib
parentcbc470bc904693618cc33ac16cc577401906b2f0 (diff)
downloadotp-b8b3a8c7d7d01cc4126dc4961c4f5de6afc1b066.tar.gz
otp-b8b3a8c7d7d01cc4126dc4961c4f5de6afc1b066.tar.bz2
otp-b8b3a8c7d7d01cc4126dc4961c4f5de6afc1b066.zip
Test suites: fix creation of Emakefiles
The Emakefiles in some test suite directories are only appended to, never created from scratch, which can cause problems especially when swithching branches in a git repository.
Diffstat (limited to 'lib')
-rw-r--r--lib/eunit/test/Makefile2
-rw-r--r--lib/kernel/test/Makefile2
-rw-r--r--lib/stdlib/test/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/eunit/test/Makefile b/lib/eunit/test/Makefile
index 83fca0ade4..27c7050cba 100644
--- a/lib/eunit/test/Makefile
+++ b/lib/eunit/test/Makefile
@@ -50,7 +50,7 @@ EBIN = .
make_emakefile:
$(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) \
- $(MODULES) >> $(EMAKEFILE)
+ $(MODULES) > $(EMAKEFILE)
tests debug opt: make_emakefile
erl $(ERL_MAKE_FLAGS) -make
diff --git a/lib/kernel/test/Makefile b/lib/kernel/test/Makefile
index ffad998d96..1e8cd55f11 100644
--- a/lib/kernel/test/Makefile
+++ b/lib/kernel/test/Makefile
@@ -116,7 +116,7 @@ EBIN = .
make_emakefile:
$(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) '*_SUITE_make' \
- >> $(EMAKEFILE)
+ > $(EMAKEFILE)
$(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) $(MODULES) \
>> $(EMAKEFILE)
diff --git a/lib/stdlib/test/Makefile b/lib/stdlib/test/Makefile
index ac8cbba375..9beac93eb8 100644
--- a/lib/stdlib/test/Makefile
+++ b/lib/stdlib/test/Makefile
@@ -110,7 +110,7 @@ COVERFILE=stdlib.cover
make_emakefile:
$(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) $(MODULES) \
- >> $(EMAKEFILE)
+ > $(EMAKEFILE)
tests debug opt: make_emakefile
erl $(ERL_MAKE_FLAGS) -make