Skip to content

Commit 99cbcab

Browse files
committed
Fix unit tests linking order + path in workflow
1 parent 1e72b61 commit 99cbcab

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
- name: Run unit tests
2929
run: |
30-
./build/unit
30+
./build/test/unit
3131
3232
- name: Run TTL expired test
3333
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ build/test/unit:
209209
@echo "[CC] unit.c"
210210
@$(CC) $(CFLAGS) $(UNIT_CFLAGS) -c src/test/unit/unit.c -o build/test/unit.o
211211
@echo "[LD] $@"
212-
@$(CC) $(UNIT_LDFLAGS) $(LDFLAGS) build/test/unit.o -o build/test/unit
212+
@$(CC) build/test/unit.o -o build/test/unit $(UNIT_LDFLAGS) $(LDFLAGS)
213213

214214
# Install dynamic library to re-link linux applications
215215
#

0 commit comments

Comments
 (0)