1 | NULL = |
---|
2 | |
---|
3 | INCLUDES = \ |
---|
4 | -I$(top_srcdir) \ |
---|
5 | -I$(top_srcdir)/intl \ |
---|
6 | -I$(top_builddir)/intl \ |
---|
7 | -I$(top_srcdir)/libgnomevfs \ |
---|
8 | $(OAF_CFLAGS) \ |
---|
9 | $(VFS_GNOMEUI_CFLAGS) \ |
---|
10 | $(VFS_CFLAGS) $(WERROR) \ |
---|
11 | -DMODULES_PATH=\"$(libdir)/vfs/modules\" |
---|
12 | |
---|
13 | noinst_PROGRAMS = \ |
---|
14 | test-async \ |
---|
15 | test-async-cancel \ |
---|
16 | test-async-directory \ |
---|
17 | test-channel \ |
---|
18 | test-directory \ |
---|
19 | test-directory-visit \ |
---|
20 | test-dirop \ |
---|
21 | test-escape \ |
---|
22 | test-find-directory \ |
---|
23 | test-info \ |
---|
24 | test-mime \ |
---|
25 | test-mime-handlers \ |
---|
26 | test-mime-handlers-set \ |
---|
27 | test-mime-info \ |
---|
28 | test-seek \ |
---|
29 | test-shell \ |
---|
30 | test-symlinks \ |
---|
31 | test-ssl \ |
---|
32 | test-sync \ |
---|
33 | test-sync-create \ |
---|
34 | test-sync-write \ |
---|
35 | test-unlink \ |
---|
36 | test-uri \ |
---|
37 | test-xfer \ |
---|
38 | test-callback \ |
---|
39 | test-module-selftest \ |
---|
40 | $(NULL) |
---|
41 | |
---|
42 | test_files= \ |
---|
43 | test.input \ |
---|
44 | test.cmds \ |
---|
45 | test.output |
---|
46 | |
---|
47 | if HAVE_LIBEFS |
---|
48 | auto_tests=auto-test |
---|
49 | else |
---|
50 | auto_tests= |
---|
51 | endif |
---|
52 | |
---|
53 | # Set up the environment so the tests can find the back end and modules |
---|
54 | TESTS_ENVIRONMENT = LD_LIBRARY_PATH=$(top_builddir)/libgnomevfs-pthread/.libs/ GNOME_VFS_MODULE_PATH=$(top_builddir)/modules/.libs GNOME_VFS_MODULE_CONFIG_PATH=$(top_srcdir)/modules |
---|
55 | TESTS = test-async-cancel test-escape test-uri $(auto_tests) |
---|
56 | |
---|
57 | libraries = \ |
---|
58 | $(top_builddir)/libgnomevfs/libgnomevfs.la \ |
---|
59 | $(VFS_GNOMEGNORBA_LIBS) \ |
---|
60 | $(GCONF_LIBS) \ |
---|
61 | $(LIBEFS_LIBS) |
---|
62 | |
---|
63 | test_async_SOURCES = test-async.c |
---|
64 | test_async_LDADD = $(libraries) |
---|
65 | |
---|
66 | test_async_directory_SOURCES = test-async-directory.c |
---|
67 | test_async_directory_LDADD = $(libraries) |
---|
68 | |
---|
69 | test_channel_SOURCES = test-channel.c |
---|
70 | test_channel_LDADD = $(libraries) |
---|
71 | |
---|
72 | test_seek_SOURCES = test-seek.c |
---|
73 | test_seek_LDADD = $(libraries) |
---|
74 | |
---|
75 | test_shell_SOURCES = test-shell.c |
---|
76 | test_shell_LDADD = $(libraries) |
---|
77 | |
---|
78 | test_info_SOURCES = test-info.c |
---|
79 | test_info_LDADD = $(libraries) |
---|
80 | |
---|
81 | test_mime_SOURCES = test-mime.c |
---|
82 | test_mime_LDADD = $(libraries) |
---|
83 | |
---|
84 | test_mime_handlers_SOURCES = test-mime-handlers.c |
---|
85 | test_mime_handlers_LDADD = $(libraries) |
---|
86 | |
---|
87 | test_mime_handlers_set_SOURCES = test-mime-handlers-set.c |
---|
88 | test_mime_handlers_set_LDADD = $(libraries) |
---|
89 | |
---|
90 | test_xfer_SOURCES = test-xfer.c |
---|
91 | test_xfer_LDADD = $(libraries) |
---|
92 | |
---|
93 | test_directory_SOURCES = test-directory.c |
---|
94 | test_directory_LDADD = $(libraries) |
---|
95 | |
---|
96 | test_directory_visit_SOURCES = test-directory-visit.c |
---|
97 | test_directory_visit_LDADD = $(libraries) |
---|
98 | |
---|
99 | test_symlinks_SOURCES = test-symlinks.c |
---|
100 | test_symlinks_LDADD = $(libraries) |
---|
101 | |
---|
102 | test_ssl_SOURCES = test-ssl.c |
---|
103 | test_ssl_LDADD = $(libraries) |
---|
104 | |
---|
105 | test_sync_SOURCES = test-sync.c |
---|
106 | test_sync_LDADD = $(libraries) |
---|
107 | |
---|
108 | test_sync_write_SOURCES = test-sync-write.c |
---|
109 | test_sync_write_LDADD = $(libraries) |
---|
110 | |
---|
111 | test_sync_create_SOURCES = test-sync-create.c |
---|
112 | test_sync_create_LDADD = $(libraries) |
---|
113 | |
---|
114 | test_async_cancel_SOURCES = test-async-cancel.c |
---|
115 | test_async_cancel_LDADD = $(libraries) |
---|
116 | |
---|
117 | test_escape_SOURCES = test-escape.c |
---|
118 | test_escape_LDADD = $(libraries) |
---|
119 | |
---|
120 | test_uri_SOURCES = test-uri.c |
---|
121 | test_uri_LDADD = $(libraries) |
---|
122 | |
---|
123 | test_unlink_SOURCES = test-unlink.c |
---|
124 | test_unlink_LDADD = $(libraries) |
---|
125 | |
---|
126 | test_dirop_SOURCES = test-dirop.c |
---|
127 | test_dirop_LDADD = $(libraries) |
---|
128 | |
---|
129 | test_find_directory_SOURCES = test-find-directory.c |
---|
130 | test_find_directory_LDADD = $(libraries) |
---|
131 | |
---|
132 | test_mime_info_SOURCES = test-mime-info.c |
---|
133 | test_mime_info_LDADD = $(libraries) |
---|
134 | |
---|
135 | test_callback_SOURCES = test-callback.c |
---|
136 | test_callback_LDADD = $(libraries) |
---|
137 | |
---|
138 | test_module_selftest_SOURCES = test-module-selftest.c |
---|
139 | test_module_selftest_LDADD = $(libraries) |
---|
140 | |
---|
141 | EXTRA_DIST = \ |
---|
142 | $(test_files) \ |
---|
143 | vfs-run.in |
---|