File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 25
25
26
26
before_install : . ./ci/before_install.sh
27
27
28
+ before_script : cd libbindgen
29
+
28
30
script :
29
31
- cargo build --verbose --features "$BINDGEN_FEATURES"
30
32
- cargo test --features "$BINDGEN_FEATURES"
Original file line number Diff line number Diff line change 1
1
2
- TEST_HEADERS := $(wildcard tests/headers/* .h) $(wildcard tests/headers/* .hpp)
2
+ TEST_HEADERS := $(wildcard libbindgen/ tests/headers/* .h) $(wildcard libbindgen/ tests/headers/* .hpp)
3
3
4
4
TEST_TARGETS := $(TEST_HEADERS:.h=.rs )
5
5
TEST_TARGETS := $(TEST_TARGETS:.hpp=.rs )
6
- TEST_TARGETS := $(patsubst tests/headers/% , tests/expectations/% , $(TEST_TARGETS ) )
6
+ TEST_TARGETS := $(patsubst libbindgen/ tests/headers/% , libbindgen/ tests/expectations/% , $(TEST_TARGETS ) )
7
7
8
8
BINDGEN := ./target/debug/bindgen
9
9
@@ -13,7 +13,7 @@ $(BINDGEN):
13
13
14
14
.PHONY : test
15
15
test :
16
- cargo test --features llvm_stable
16
+ cd libbindgen && cargo test --features llvm_stable
17
17
18
18
19
19
.PHONY : regen-tests
@@ -25,10 +25,10 @@ clean-tests:
25
25
$(RM ) $(TEST_TARGETS )
26
26
27
27
# TODO: Add options to add flags and whatnot
28
- tests/expectations/% .rs : tests/headers/% .h
28
+ libbindgen/ tests/expectations/% .rs : libbindgen/ tests/headers/% .h
29
29
@mkdir -p $(dir $@ )
30
- ./tests/tools/run-bindgen.py $(BINDGEN ) $< $@
30
+ ./libbindgen/ tests/tools/run-bindgen.py $(BINDGEN ) $< $@
31
31
32
- tests/expectations/% .rs : tests/headers/% .hpp
32
+ libbindgen/ tests/expectations/% .rs : libbindgen/ tests/headers/% .hpp
33
33
@mkdir -p $(dir $@ )
34
- ./tests/tools/run-bindgen.py $(BINDGEN ) $< $@
34
+ ./libbindgen/ tests/tools/run-bindgen.py $(BINDGEN ) $< $@
You can’t perform that action at this time.
0 commit comments