mirror of
https://github.com/git/git.git
synced 2024-06-03 01:46:11 +02:00
c9e04a1e1f
Add a test file that calls some functions defined in git-std-lib.a object files to showcase that they do not reference missing objects and that, together with git-stub-lib.a, git-std-lib.a can stand on its own. As described in test-stdlib.c, this can probably be removed once we have unit tests. The variable TEST_PROGRAMS is moved lower in the Makefile after NO_POSIX_GOODIES is defined in config.make.uname. TEST_PROGRAMS isn't used earlier than that so this change should be safe. Signed-off-by: Calvin Wan <calvinwan@google.com> Helped-by: Phillip Wood <phillip.wood123@gmail.com> Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 lines
166 B
Bash
Executable File
12 lines
166 B
Bash
Executable File
#!/bin/sh
|
|
|
|
test_description='Test git-std-lib compilation'
|
|
|
|
. ./test-lib.sh
|
|
|
|
test_expect_success !WINDOWS 'stdlib-test compiles and runs' '
|
|
test-stdlib
|
|
'
|
|
|
|
test_done
|