aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-12 10:08:53 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-12 10:08:53 -0800
commita4af0b6288e25eb327ae9018cee09def9e43f1cd (patch)
tree3d1bae71e6f41c6514ebc905795f06f19eb2ecc4 /t
parent3f3fd0f34617bc9901d5cfaca9a5b5a12eec8cf4 (diff)
parent65c10aa8d5000e0ecab34a9652056f0520fe51ed (diff)
downloadgit-a4af0b6288e25eb327ae9018cee09def9e43f1cd.tar.gz
Merge branch 'js/libgit-rust'
Foreign language interface for Rust into our code base has been added. * js/libgit-rust: libgit: add higher-level libgit crate libgit-sys: also export some config_set functions libgit-sys: introduce Rust wrapper for libgit.a common-main: split init and exit code into new files
Diffstat (limited to 't')
-rw-r--r--t/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/Makefile b/t/Makefile
index daa5fcae86..2994eb5fa9 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -177,3 +177,18 @@ perf:
.PHONY: pre-clean $(T) aggregate-results clean valgrind perf \
check-chainlint clean-chainlint test-chainlint $(UNIT_TESTS)
+
+.PHONY: libgit-sys-test libgit-rs-test
+libgit-sys-test:
+ $(QUIET)(\
+ cd ../contrib/libgit-sys && \
+ cargo test \
+ )
+libgit-rs-test:
+ $(QUIET)(\
+ cd ../contrib/libgit-rs && \
+ cargo test \
+ )
+ifdef INCLUDE_LIBGIT_RS
+all:: libgit-sys-test libgit-rs-test
+endif