aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/SConscript')
-rw-r--r--src/util/SConscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/SConscript b/src/util/SConscript
index ade1d6c6cfd..34b9a2deaab 100644
--- a/src/util/SConscript
+++ b/src/util/SConscript
@@ -36,3 +36,12 @@ mesautil = env.ConvenienceLibrary(
env.Alias('mesautil', mesautil)
Export('mesautil')
+
+
+# http://www.scons.org/wiki/UnitTests
+u_atomic_test = env.Program(
+ target = 'u_atomic_test',
+ source = ['u_atomic_test.c'],
+)
+alias = env.Alias("u_atomic_test", u_atomic_test, u_atomic_test[0].abspath)
+AlwaysBuild(alias)