| 1 | test_tool_sources = [ |
| 2 | '../unit-tests/test-lib.c', |
| 3 | 'test-advise.c', |
| 4 | 'test-bitmap.c', |
| 5 | 'test-bloom.c', |
| 6 | 'test-bundle-uri.c', |
| 7 | 'test-cache-tree.c', |
| 8 | 'test-chmtime.c', |
| 9 | 'test-config.c', |
| 10 | 'test-crontab.c', |
| 11 | 'test-csprng.c', |
| 12 | 'test-date.c', |
| 13 | 'test-delete-gpgsig.c', |
| 14 | 'test-delta.c', |
| 15 | 'test-diff-process-backend.c', |
| 16 | 'test-dir-iterator.c', |
| 17 | 'test-drop-caches.c', |
| 18 | 'test-dump-cache-tree.c', |
| 19 | 'test-dump-fsmonitor.c', |
| 20 | 'test-dump-split-index.c', |
| 21 | 'test-dump-untracked-cache.c', |
| 22 | 'test-env-helper.c', |
| 23 | 'test-example-tap.c', |
| 24 | 'test-find-pack.c', |
| 25 | 'test-fsmonitor-client.c', |
| 26 | 'test-genrandom.c', |
| 27 | 'test-genzeros.c', |
| 28 | 'test-getcwd.c', |
| 29 | 'test-hash-speed.c', |
| 30 | 'test-hash.c', |
| 31 | 'test-hashmap.c', |
| 32 | 'test-hexdump.c', |
| 33 | 'test-json-writer.c', |
| 34 | 'test-lazy-init-name-hash.c', |
| 35 | 'test-match-trees.c', |
| 36 | 'test-mergesort.c', |
| 37 | 'test-mktemp.c', |
| 38 | 'test-name-hash.c', |
| 39 | 'test-online-cpus.c', |
| 40 | 'test-pack-deltas.c', |
| 41 | 'test-pack-mtimes.c', |
| 42 | 'test-parse-options.c', |
| 43 | 'test-parse-pathspec-file.c', |
| 44 | 'test-partial-clone.c', |
| 45 | 'test-path-utils.c', |
| 46 | 'test-path-walk.c', |
| 47 | 'test-pcre2-config.c', |
| 48 | 'test-pkt-line.c', |
| 49 | 'test-proc-receive.c', |
| 50 | 'test-progress.c', |
| 51 | 'test-reach.c', |
| 52 | 'test-read-cache.c', |
| 53 | 'test-read-graph.c', |
| 54 | 'test-read-midx.c', |
| 55 | 'test-ref-store.c', |
| 56 | 'test-reftable.c', |
| 57 | 'test-regex.c', |
| 58 | 'test-repository.c', |
| 59 | 'test-revision-walking.c', |
| 60 | 'test-rot13-filter.c', |
| 61 | 'test-run-command.c', |
| 62 | 'test-scrap-cache-tree.c', |
| 63 | 'test-serve-v2.c', |
| 64 | 'test-sha1.c', |
| 65 | 'test-sha256.c', |
| 66 | 'test-sigchain.c', |
| 67 | 'test-simple-ipc.c', |
| 68 | 'test-string-list.c', |
| 69 | 'test-submodule-config.c', |
| 70 | 'test-submodule-nested-repo-config.c', |
| 71 | 'test-submodule.c', |
| 72 | 'test-subprocess.c', |
| 73 | 'test-synthesize.c', |
| 74 | 'test-tool.c', |
| 75 | 'test-trace2.c', |
| 76 | 'test-truncate.c', |
| 77 | 'test-userdiff.c', |
| 78 | 'test-wildmatch.c', |
| 79 | 'test-windows-named-pipe.c', |
| 80 | 'test-write-cache.c', |
| 81 | 'test-xml-encode.c', |
| 82 | 'test-zlib.c', |
| 83 | ] |
| 84 | |
| 85 | test_tool = executable('test-tool', |
| 86 | sources: test_tool_sources, |
| 87 | dependencies: [libgit_commonmain], |
| 88 | ) |
| 89 | bin_wrappers += test_tool |
| 90 | test_dependencies += test_tool |
| 91 | |
| 92 | test_fake_ssh = executable('test-fake-ssh', |
| 93 | sources: 'test-fake-ssh.c', |
| 94 | dependencies: [libgit_commonmain], |
| 95 | ) |
| 96 | bin_wrappers += test_fake_ssh |
| 97 | test_dependencies += test_fake_ssh |