summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2020-08-04 14:44:38 +0300
committerTanu Kaskinen <tanuk@iki.fi>2020-08-04 15:09:36 +0300
commit7742c9aa50f5435873dda0118c5ce90398633082 (patch)
tree65160e307523fdaed616004c4bdd1582d08edc8c
parent99db8038de96f4ce043f88bfb3a5b000a6c4ee22 (diff)
meson: Build atomic-test
The test was missing from the build system.
-rw-r--r--src/tests/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tests/meson.build b/src/tests/meson.build
index 4f2ca9395..f0500467f 100644
--- a/src/tests/meson.build
+++ b/src/tests/meson.build
@@ -160,6 +160,13 @@ if cc.has_header_symbol('signal.h', 'SIGXCPU')
]
endif
+if cc.has_function('pthread_setaffinity_np', dependencies : thread_dep)
+ norun_tests += [
+ [ 'atomic-test', 'atomic-test.c',
+ [ check_dep, libpulsecommon_dep ] ]
+ ]
+endif
+
if alsa_dep.found()
norun_tests += [
[ 'alsa-time-test', 'alsa-time-test.c', [ alsa_dep ] ]