1 | NULL = |
---|
2 | |
---|
3 | INCLUDES = \ |
---|
4 | -I$(top_srcdir) \ |
---|
5 | -I$(top_builddir) \ |
---|
6 | -I$(top_builddir)/libgnomevfs \ |
---|
7 | $(TEST_CFLAGS) \ |
---|
8 | $(VFS_CFLAGS) \ |
---|
9 | -DG_DISABLE_DEPRECATED \ |
---|
10 | -DMODULES_PATH=\"$(libdir)/vfs/modules\" |
---|
11 | |
---|
12 | noinst_PROGRAMS = \ |
---|
13 | test-async \ |
---|
14 | test-async-cancel \ |
---|
15 | test-async-directory \ |
---|
16 | test-channel \ |
---|
17 | test-directory \ |
---|
18 | test-directory-visit \ |
---|
19 | test-dirop \ |
---|
20 | test-dns-sd \ |
---|
21 | test-escape \ |
---|
22 | test-find-directory \ |
---|
23 | test-info \ |
---|
24 | test-mime \ |
---|
25 | test-mime-handlers \ |
---|
26 | test-mime-info-cache \ |
---|
27 | test-mime-handlers-set \ |
---|
28 | test-monitor \ |
---|
29 | test-performance \ |
---|
30 | test-seek \ |
---|
31 | test-shell \ |
---|
32 | test-symlinks \ |
---|
33 | test-ssl \ |
---|
34 | test-sync \ |
---|
35 | test-sync-create \ |
---|
36 | test-sync-write \ |
---|
37 | test-unlink \ |
---|
38 | test-uri \ |
---|
39 | test-volumes \ |
---|
40 | test-xfer \ |
---|
41 | test-callback \ |
---|
42 | test-module-selftest \ |
---|
43 | test-queue \ |
---|
44 | $(NULL) |
---|
45 | |
---|
46 | test_files= \ |
---|
47 | test.input \ |
---|
48 | test.cmds \ |
---|
49 | test.output |
---|
50 | |
---|
51 | # Set up the environment so the tests can find the modules |
---|
52 | TESTS_ENVIRONMENT = GNOME_VFS_MODULE_PATH=$(top_builddir)/modules/.libs \ |
---|
53 | GNOME_VFS_MODULE_CONFIG_PATH=$(top_srcdir)/modules \ |
---|
54 | GNOME_VFS_TEST_CONFIG_FILE=$(top_srcdir)/test/queue-test-config.xml \ |
---|
55 | SRCDIR=$(srcdir) |
---|
56 | TESTS = test-async-cancel test-escape test-uri test-queue $(srcdir)/auto-test |
---|
57 | |
---|
58 | libraries = \ |
---|
59 | $(top_builddir)/libgnomevfs/libgnomevfs-2.la \ |
---|
60 | $(TEST_LIBS) \ |
---|
61 | $(POPT_LIBS) \ |
---|
62 | $(LIBEFS_LIBS) |
---|
63 | |
---|
64 | test_async_SOURCES = test-async.c |
---|
65 | test_async_LDADD = $(libraries) |
---|
66 | |
---|
67 | test_performance_SOURCES = test-performance.c |
---|
68 | test_performance_LDADD = $(libraries) |
---|
69 | |
---|
70 | #test_resolv_SOURCES = test-resolv.c |
---|
71 | #test_resolv_LDADD = $(libraries) |
---|
72 | |
---|
73 | #test_subdir_SOURCES = test-subdir.c |
---|
74 | #test_subdir_LDADD = $(libraries) |
---|
75 | |
---|
76 | test_async_directory_SOURCES = test-async-directory.c |
---|
77 | test_async_directory_LDADD = $(libraries) |
---|
78 | |
---|
79 | test_channel_SOURCES = test-channel.c |
---|
80 | test_channel_LDADD = $(libraries) |
---|
81 | |
---|
82 | test_seek_SOURCES = test-seek.c |
---|
83 | test_seek_LDADD = $(libraries) |
---|
84 | |
---|
85 | test_shell_SOURCES = test-shell.c |
---|
86 | test_shell_LDADD = $(libraries) |
---|
87 | |
---|
88 | test_info_SOURCES = test-info.c |
---|
89 | test_info_LDADD = $(libraries) |
---|
90 | |
---|
91 | test_mime_SOURCES = test-mime.c |
---|
92 | test_mime_LDADD = $(libraries) |
---|
93 | |
---|
94 | test_mime_handlers_SOURCES = test-mime-handlers.c |
---|
95 | test_mime_handlers_LDADD = $(libraries) |
---|
96 | |
---|
97 | test_mime_handlers_set_SOURCES = test-mime-handlers-set.c |
---|
98 | test_mime_handlers_set_LDADD = $(libraries) |
---|
99 | |
---|
100 | test_mime_info_cache_SOURCES = test-mime-info-cache.c |
---|
101 | test_mime_info_cache_LDADD = $(libraries) |
---|
102 | |
---|
103 | test_xfer_SOURCES = test-xfer.c |
---|
104 | test_xfer_LDADD = $(libraries) |
---|
105 | |
---|
106 | test_directory_SOURCES = test-directory.c |
---|
107 | test_directory_LDADD = $(libraries) |
---|
108 | |
---|
109 | test_directory_visit_SOURCES = test-directory-visit.c |
---|
110 | test_directory_visit_LDADD = $(libraries) |
---|
111 | |
---|
112 | test_symlinks_SOURCES = test-symlinks.c |
---|
113 | test_symlinks_LDADD = $(libraries) |
---|
114 | |
---|
115 | test_ssl_SOURCES = test-ssl.c |
---|
116 | test_ssl_LDADD = $(libraries) |
---|
117 | |
---|
118 | test_sync_SOURCES = test-sync.c |
---|
119 | test_sync_LDADD = $(libraries) |
---|
120 | |
---|
121 | test_sync_write_SOURCES = test-sync-write.c |
---|
122 | test_sync_write_LDADD = $(libraries) |
---|
123 | |
---|
124 | test_sync_create_SOURCES = test-sync-create.c |
---|
125 | test_sync_create_LDADD = $(libraries) |
---|
126 | |
---|
127 | test_async_cancel_SOURCES = test-async-cancel.c |
---|
128 | test_async_cancel_LDADD = $(libraries) |
---|
129 | |
---|
130 | test_escape_SOURCES = test-escape.c |
---|
131 | test_escape_LDADD = $(libraries) |
---|
132 | |
---|
133 | test_uri_SOURCES = test-uri.c |
---|
134 | test_uri_LDADD = $(libraries) |
---|
135 | |
---|
136 | test_volumes_SOURCES = test-volumes.c |
---|
137 | test_volumes_LDADD = $(libraries) |
---|
138 | |
---|
139 | test_unlink_SOURCES = test-unlink.c |
---|
140 | test_unlink_LDADD = $(libraries) |
---|
141 | |
---|
142 | test_dirop_SOURCES = test-dirop.c |
---|
143 | test_dirop_LDADD = $(libraries) |
---|
144 | |
---|
145 | test_dns_sd_SOURCES = test-dns-sd.c |
---|
146 | test_dns_sd_LDADD = $(libraries) |
---|
147 | |
---|
148 | test_find_directory_SOURCES = test-find-directory.c |
---|
149 | test_find_directory_LDADD = $(libraries) |
---|
150 | |
---|
151 | test_monitor_SOURCES = test-monitor.c |
---|
152 | test_monitor_LDADD = $(libraries) |
---|
153 | |
---|
154 | # test_metadata_SOURCES = test-metadata.c |
---|
155 | # test_metadata_LDADD = $(libraries) |
---|
156 | |
---|
157 | test_callback_SOURCES = test-callback.c |
---|
158 | test_callback_LDADD = $(libraries) |
---|
159 | |
---|
160 | test_module_selftest_SOURCES = test-module-selftest.c |
---|
161 | test_module_selftest_LDADD = $(libraries) |
---|
162 | |
---|
163 | test_queue_SOURCES = test-queue.c |
---|
164 | test_queue_LDADD = $(libraries) |
---|
165 | |
---|
166 | EXTRA_DIST = \ |
---|
167 | $(test_files) \ |
---|
168 | auto-test \ |
---|
169 | vfs-run.in |
---|