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