Skip to content

Commit

Permalink
Fix dependency ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Nov 1, 2013
1 parent 37a73eb commit 332deec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/unit/all.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $(BUILD_DIR)/tests/unit:
#
# Files in the output dir depend on the unit tests
#
$(BUILD_DIR)/tests/unit/%: $(DIR)/% ./$(BUILD_DIR)/bin/radattr
$(BUILD_DIR)/tests/unit/%: $(DIR)/% ./$(BUILD_DIR)/bin/radattr | $(BUILD_DIR)/tests/unit
@echo UNIT-TEST $(notdir $@)
@$(JLIBTOOL) --quiet --mode=execute ./$(BUILD_DIR)/bin/radattr -d $(top_srcdir)/share $<
@touch $@
Expand All @@ -32,7 +32,7 @@ TESTS.UNIT_FILES := $(addprefix $(BUILD_DIR)/tests/unit/,$(FILES))
#
# Depend on the output files, and create the directory first.
#
tests.unit: $(TESTS.UNIT_FILES) | $(BUILD_DIR)/tests/unit
tests.unit: $(TESTS.UNIT_FILES)

#
# And be a BASTARD about it. If the unit tests fail,
Expand Down

0 comments on commit 332deec

Please sign in to comment.