Skip to content

Commit 4efcdab

Browse files
committed
Copying is probably a dirty hack
1 parent 7727504 commit 4efcdab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ gdb-%.bin: %.bin Makefile
1616
gdb -q -x run.gdb $<
1717

1818
test:
19-
mkdir -p ebin/
20-
cp binary16.c binary16.h ebin/
2119
erl -make
2220

2321
clean:

tests/test_msb_ndx.erl

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
-compile(export_all).
44

55
prop_zero() ->
6-
?SETUP(fun () -> eqc_c:start(binary16),
6+
?SETUP(fun () -> eqc_c:start(binary16, [
7+
{c_src, "../binary16.c"},
8+
{additional_files, "../binary16.h"}]),
79
fun() -> ok end
810
end,
911
equals(0, binary16:msb_ndx(0))).

0 commit comments

Comments
 (0)