Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaceeb3c

Browse files
author
Dan Dedrick
committed
tests: fix building out of place
The path to the source files should be top_srcdir not top_builddir. Whenbuilding in place these are both the same so this doesn't fail but istechnically wrong. This change will allow both cases to work.To demonstrace how this was broken before and to ensure it is fixed nowyou can do the following:./autogen.sh && mkdir -p build && cd build && ../configure && makeRunning make check out of place still doesn't work but that will requirea bit more change.
1 parent10ac49f commitaceeb3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎tests/internals/Makefile.am‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

22
noinst_HEADERS = test_common.h
33
noinst_PROGRAMS = test_internals test_rate_limiter
4-
test_internals_SOURCES = test_internals.c test_common.c$(top_builddir)/src/misc.c
5-
test_rate_limiter_SOURCES = test_rate_limiter.c test_common.c$(top_builddir)/src/rate_limiter.c
4+
test_internals_SOURCES = test_internals.c test_common.c$(top_srcdir)/src/misc.c
5+
test_rate_limiter_SOURCES = test_rate_limiter.c test_common.c$(top_srcdir)/src/rate_limiter.c
66

7-
test_internals_CPPFLAGS = ${my_CPPFLAGS} ${fuse_CFLAGS} -I. -I$(top_builddir)/src
7+
test_internals_CPPFLAGS = ${my_CPPFLAGS} ${fuse_CFLAGS} -I. -I$(top_srcdir)/src
88
test_internals_CFLAGS = ${my_CFLAGS}
99
test_internals_LDADD = ${my_LDFLAGS}
1010

11-
test_rate_limiter_CPPFLAGS = ${my_CPPFLAGS} ${fuse_CFLAGS} -I. -I$(top_builddir)/src
11+
test_rate_limiter_CPPFLAGS = ${my_CPPFLAGS} ${fuse_CFLAGS} -I. -I$(top_srcdir)/src
1212
test_rate_limiter_CFLAGS = ${my_CFLAGS}
1313
test_rate_limiter_LDADD = ${my_LDFLAGS}
1414

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp