diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-04-19 00:05:06 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-06-26 15:56:07 +0000 |
commit | d15f83c9223a48454fafd47b41cf9bf2e4e4da72 (patch) | |
tree | 247829bb8611712bd7bba2a9be659cf9929bd698 /Makefile-tests.am | |
parent | 292230301dde3c774325d50b5ed95d37b1c1d217 (diff) | |
download | ostree-d15f83c9223a48454fafd47b41cf9bf2e4e4da72.tar.gz |
lib/repo-finder: Add config-file based OstreeRepoFinder implementation
This is a basic implementation of OstreeRepoFinder which resolves ref
names to remote URIs by looking their collection IDs up in the local
configuration of remotes who have their collection-id key set.
Unit tests are included.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #924
Approved by: cgwalters
Diffstat (limited to 'Makefile-tests.am')
-rw-r--r-- | Makefile-tests.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile-tests.am b/Makefile-tests.am index 4261fa7c..1cdf8826 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -193,6 +193,12 @@ _installed_or_uninstalled_test_programs = tests/test-varint tests/test-ot-unix-u tests/test-gpg-verify-result tests/test-checksum tests/test-lzma tests/test-rollsum \ tests/test-basic-c tests/test-sysroot-c tests/test-pull-c +if ENABLE_EXPERIMENTAL_API +test_programs += \ + tests/test-repo-finder-config \ + $(NULL) +endif + # An interactive tool noinst_PROGRAMS += tests/test-rollsum-cli @@ -219,6 +225,10 @@ tests_test_rollsum_SOURCES = src/libostree/ostree-rollsum.c tests/test-rollsum.c tests_test_rollsum_CFLAGS = $(TESTS_CFLAGS) $(OT_DEP_ZLIB_CFLAGS) tests_test_rollsum_LDADD = $(bupsplitpath) $(TESTS_LDADD) $(OT_DEP_ZLIB_LIBS) +tests_test_repo_finder_config_SOURCES = tests/test-repo-finder-config.c +tests_test_repo_finder_config_CFLAGS = $(TESTS_CFLAGS) +tests_test_repo_finder_config_LDADD = $(TESTS_LDADD) + tests_test_mutable_tree_CFLAGS = $(TESTS_CFLAGS) tests_test_mutable_tree_LDADD = $(TESTS_LDADD) |