#
# Run 'scons test' to compile unit-tests
#
+test_unit_result = None
test_unit_list = []
run_tests = []
postinstall_example = env.Command('./example/postinstall.out', None, './example/postinstall.sh')
#Default ('install')
-Depends (install_include, test_unit_result)
-Depends (install_lib, test_unit_result)
-Depends (install_example, test_unit_result)
+if test_unit_result:
+ Depends (install_include, test_unit_result)
+ Depends (install_lib, test_unit_result)
+ Depends (install_example, test_unit_result)
ii = env.Alias('install-include', [target_usr_local_include])
il = env.Alias('install-lib', [target_usr_local_lib])