2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:17 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2017-09-11 21:33:26 +03:00
|
|
|
DisableStlWrapping()
|
2013-07-10 23:08:21 +04:00
|
|
|
|
2019-06-06 09:18:09 +03:00
|
|
|
# Important: for CppUnitTests to be run, they also need to be added
|
|
|
|
# to testing/cppunittest.ini.
|
|
|
|
|
2014-10-30 07:06:12 +03:00
|
|
|
GeckoCppUnitTests([
|
2014-07-25 02:14:21 +04:00
|
|
|
'ShowSSEConfig',
|
2014-10-30 07:06:12 +03:00
|
|
|
], linkage=None)
|
2017-05-08 22:49:48 +03:00
|
|
|
|
|
|
|
CppUnitTests([
|
2019-06-06 09:18:09 +03:00
|
|
|
'TestBaseProfiler',
|
2017-05-08 22:49:48 +03:00
|
|
|
'TestPrintf',
|
|
|
|
])
|
2018-04-09 22:37:52 +03:00
|
|
|
|
2019-06-06 09:18:09 +03:00
|
|
|
with Files('TestBaseProfiler.cpp'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Gecko Profiler')
|
|
|
|
|
2018-04-09 22:37:52 +03:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2019-01-16 02:10:00 +03:00
|
|
|
GeckoCppUnitTests([
|
|
|
|
'TestNativeNt',
|
2020-01-08 19:53:17 +03:00
|
|
|
'TestTimeStampWin',
|
2019-01-16 02:10:00 +03:00
|
|
|
], linkage=None)
|
2018-04-09 22:37:52 +03:00
|
|
|
TEST_DIRS += [
|
|
|
|
'interceptor',
|
2018-06-14 10:15:26 +03:00
|
|
|
'gtest',
|
2018-04-09 22:37:52 +03:00
|
|
|
]
|
2019-01-16 02:10:00 +03:00
|
|
|
OS_LIBS += [
|
|
|
|
'ntdll',
|
2019-06-11 03:11:58 +03:00
|
|
|
'version',
|
2019-01-16 02:10:00 +03:00
|
|
|
]
|