summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-04-01 16:10:49 +0200
committerMax Kellermann <max@musicpd.org>2020-04-01 16:12:01 +0200
commita4c925c8d7b67ef8f099710682e16622746ce648 (patch)
tree2d0fb504b43cea438e2f953370310c0ae8261717 /test
parent60610e90b1258b37f6ae946cfc5b2737c192d2ae (diff)
test/meson.build: move TestTime to time/
Diffstat (limited to 'test')
-rw-r--r--test/meson.build14
-rw-r--r--test/time/TestISO8601.cxx (renamed from test/TestISO8601.cxx)0
-rw-r--r--test/time/meson.build16
3 files changed, 17 insertions, 13 deletions
diff --git a/test/meson.build b/test/meson.build
index 4e3fbab49..f20a79aa0 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -24,6 +24,7 @@ gtest_dep = declare_dependency(
)
subdir('net')
+subdir('time')
executable(
'read_conf',
@@ -51,19 +52,6 @@ test('TestUtil', executable(
],
))
-test(
- 'TestTime',
- executable(
- 'TestTime',
- 'TestISO8601.cxx',
- include_directories: inc,
- dependencies: [
- time_dep,
- gtest_dep,
- ],
- ),
-)
-
test('TestRewindInputStream', executable(
'TestRewindInputStream',
'TestRewindInputStream.cxx',
diff --git a/test/TestISO8601.cxx b/test/time/TestISO8601.cxx
index cd0897c1a..cd0897c1a 100644
--- a/test/TestISO8601.cxx
+++ b/test/time/TestISO8601.cxx
diff --git a/test/time/meson.build b/test/time/meson.build
new file mode 100644
index 000000000..0aba67ac2
--- /dev/null
+++ b/test/time/meson.build
@@ -0,0 +1,16 @@
+test_time_sources = [
+ 'TestISO8601.cxx',
+]
+
+test(
+ 'TestTime',
+ executable(
+ 'TestTime',
+ test_time_sources,
+ include_directories: inc,
+ dependencies: [
+ time_dep,
+ gtest_dep,
+ ],
+ ),
+)