Merge branch 'lp-offset-twoside'
[mesa.git] / src / gallium / tests / unit / SConscript
index a200123f4465c9d6fc0dc60c9b1c30401158e0ac..655e8a9b41cbfefaf7d43cc093e792493042beae 100644 (file)
@@ -4,14 +4,19 @@ env = env.Clone()
 
 env.Prepend(LIBS = [gallium])
 
-if platform == 'sunos5':
+if env['platform'] in ('freebsd8', 'sunos5'):
     env.Append(LIBS = ['m'])
 
+if env['platform'] == 'freebsd8':
+    env.Append(LIBS = ['pthread'])
+
 progs = [
     'pipe_barrier_test',
     'u_cache_test',
     'u_format_test',
-    'u_half_test'
+    'u_format_compatible_test',
+    'u_half_test',
+    'translate_test'
 ]
 
 for prog in progs: