<commit_before>## Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
## Use of this source code is governed by a BSD-style license that can be
## found in the COPYING file.
qi_create_bin(testlaunch NO_INSTALL testlaunch.cpp)
qi_create_bin(testlaunchloop NO_INSTALL testlaunchloop.cpp)
qi_create_bin(check_env  NO_INSTALL check_env.cpp)

qi_use_lib(testlaunchloop QI)
qi_use_lib(check_env QI)

set_target_properties(testlaunch PROPERTIES FOLDER tests)
set_target_properties(testlaunchloop PROPERTIES FOLDER tests)
set_target_properties(check_env  PROPERTIES FOLDER tests)

qi_create_gtest(test_qipath      SRC test_qipath.cpp ../src/utils.cpp DEPENDS QI GTEST)
qi_create_gtest(test_qipath_from_bin SRC test_qipath.cpp ../src/utils.cpp DEPENDS QI GTEST)
if(BUILD_TESTS)
  set_tests_properties(test_qipath_from_bin PROPERTIES
      WORKING_DIRERCTORY ${QI_SDK_DIR}/${QI_SDK_BIN})
endif()
qi_create_gtest(test_qilocal     SRC test_locale.cpp      DEPENDS QI GTEST)
qi_create_gtest(test_qios        SRC test_qios.cpp        DEPENDS QI GTEST)
qi_create_gtest(test_thread      SRC test_thread.cpp      DEPENDS QI BOOST_THREAD)
qi_create_gtest(test_qilaunch    SRC test_qilaunch.cpp    DEPENDS QI GTEST)
qi_create_gtest(test_qilog_sync  SRC test_qilog_sync.cpp  DEPENDS QI GTEST)
qi_create_gtest(test_qilog_async SRC test_qilog_async.cpp DEPENDS QI GTEST)<commit_msg>fix building libqi without gtest<commit_after>## Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
## Use of this source code is governed by a BSD-style license that can be
## found in the COPYING file.
qi_create_bin(testlaunch NO_INSTALL testlaunch.cpp)
qi_create_bin(testlaunchloop NO_INSTALL testlaunchloop.cpp)
qi_create_bin(check_env  NO_INSTALL check_env.cpp)

qi_use_lib(testlaunchloop QI)
qi_use_lib(check_env QI)

set_target_properties(testlaunch PROPERTIES FOLDER tests)
set_target_properties(testlaunchloop PROPERTIES FOLDER tests)
set_target_properties(check_env  PROPERTIES FOLDER tests)

qi_create_gtest(test_qipath      SRC test_qipath.cpp ../src/utils.cpp DEPENDS QI GTEST)
qi_create_gtest(test_qipath_from_bin SRC test_qipath.cpp ../src/utils.cpp DEPENDS QI GTEST)
if(TARGET test_qipath_from_bin)
  set_tests_properties(test_qipath_from_bin PROPERTIES
      WORKING_DIRERCTORY ${QI_SDK_DIR}/${QI_SDK_BIN})
endif()
qi_create_gtest(test_qilocal     SRC test_locale.cpp      DEPENDS QI GTEST)
qi_create_gtest(test_qios        SRC test_qios.cpp        DEPENDS QI GTEST)
qi_create_gtest(test_thread      SRC test_thread.cpp      DEPENDS QI BOOST_THREAD)
qi_create_gtest(test_qilaunch    SRC test_qilaunch.cpp    DEPENDS QI GTEST)
qi_create_gtest(test_qilog_sync  SRC test_qilog_sync.cpp  DEPENDS QI GTEST)
qi_create_gtest(test_qilog_async SRC test_qilog_async.cpp DEPENDS QI GTEST)
{'fraction_non_alphanumeric': 0.058462648863226274, 'fraction_numerical': 0.00288704438830747, 'mean_word_length': 6.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '195076', 'n_tokens_mistral': 1110, 'n_tokens_neox': 1031, 'n_words': 222}