Skip to content

Commit 99793f2

Browse files
committed
Toolchains: Try re-enabling compressed debug sections test
1 parent db4fdb0 commit 99793f2

File tree

1 file changed

+6
-4
lines changed
  • BinaryBuilderToolchains.jl/test/testsuite/CToolchain/07_compressed_debug_sections

1 file changed

+6
-4
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ run: $(UNCOMPRESSED) $(COMPRESSED)
2626
@$(UNCOMPRESSED)
2727
@$(COMPRESSED)
2828

29-
check: $(UNCOMPRESSED) $(COMPRESSED)
30-
@# Assert that the output of each is as expected
31-
@[ "$$($(COMPRESSED) foo)" = "I was invoked with 2 arguments!" ]
32-
@[ "$$($(UNCOMPRESSED))" = "I was invoked with 1 arguments!" ]
29+
compile: $(UNCOMPRESSED) $(COMPRESSED)
3330
@$(OBJCOPY) --dump-section .$(DEBUG_SECTION)=$(PROJECT_DIR_BUILD)/uncompressed.$(DEBUG_SECTION) $(UNCOMPRESSED)
3431
@$(OBJCOPY) --dump-section .$(DEBUG_SECTION)=$(PROJECT_DIR_BUILD)/compressed.$(DEBUG_SECTION) $(COMPRESSED)
3532
@$(OBJCOPY) --dump-section .$(DEBUG_SECTION)=$(PROJECT_DIR_BUILD)/decompressed.$(DEBUG_SECTION) --decompress-debug-sections $(COMPRESSED)
@@ -44,5 +41,10 @@ check: $(UNCOMPRESSED) $(COMPRESSED)
4441
exit 1; \
4542
fi
4643

44+
check: compile
45+
@# Assert that the output of each is as expected
46+
@[ "$$($(COMPRESSED) foo)" = "I was invoked with 2 arguments!" ]
47+
@[ "$$($(UNCOMPRESSED))" = "I was invoked with 1 arguments!" ]
48+
4749
print-%:
4850
echo "$*=$($*)"

0 commit comments

Comments
 (0)