Skip to content

Commit

Permalink
Test suites: fix creation of Emakefiles
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bjorng committed Jan 29, 2010
1 parent cbc470b commit b8b3a8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/eunit/test/Makefile
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/kernel/test/Makefile
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion lib/stdlib/test/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit b8b3a8c

Please sign in to comment.