Skip to content

Commit 7adc37b

Browse files
committed
Debug tests
1 parent be561b7 commit 7adc37b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/trimming/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $(BIN)/capplication$(EXE): $(SRCDIR)/capplication.c $(SRCDIR)/libsimple.h $(BIN)
6161
$(CC) -I$(BIN) -I$(SRCDIR) -I$(JULIA_LIBDIR) -o $@ $< -Wl,--whole-archive $(BIN)/libsimple-o.a -Wl,--no-whole-archive $(LDFLAGS_ADD) $(LDFLAGS) $(CPPFLAGS_ADD) $(CPPFLAGS) $(CFLAGS_ADD) $(CFLAGS)
6262

6363
check: $(BIN)/hello$(EXE) $(BIN)/trimmability$(EXE) $(BIN)/basic_jll$(EXE) $(BIN)/capplication$(EXE)
64-
$(JULIA) --depwarn=error $(SRCDIR)/trimming.jl $<
64+
$(JULIA) --startup-file=no --history-file=no --depwarn=error --project=$(SRCDIR) $(SRCDIR)/trimming.jl $<
6565

6666
clean:
6767
-rm -f $(BIN)/hello$(EXE) $(BIN)/trimmability$(EXE) $(BIN)/basic_jll$(EXE) $(BIN)/hello-o.a $(BIN)/trimmability-o.a $(BIN)/basic_jll-o.a $(BIN)/libsimple-o.a $(BIN)/libsimple.$(SHLIB_EXT) $(BIN)/capplication$(EXE) $(BIN)/bindinginfo_libsimple.json

test/trimming/trimming.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ let exe_suffix = splitext(Base.julia_exename())[2]
4141
@test any(Bool[func["symbol"] == "copyto_and_sum" for func in abi["functions"]])
4242

4343
# `CVector{Float32}` should have been exported with the correct info
44+
@show abi["types"]
4445
@test any(Bool[type["name"] == "CVector{Float32}" for type in abi["types"]])
4546
CVector_Float32 = abi["types"][findfirst(type["name"] == "CVector{Float32}" for type in abi["types"])]
4647
@test length(CVector_Float32["fields"]) == 2

0 commit comments

Comments
 (0)