/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/utils/UnitTest/LibcTestMain.cpp
18 строк
644 B
Caitlyn Cano
[libc] Add option to run specific tests
23 июл 2021, 19:08
23 июл 2021, 19:08
fa7a9ef
Код
Авторство
О чём код?
//===-- Main function for implementation of base class for libc unittests -===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "LibcTest.h" static const char *getTestFilter(int argc, char *argv[]) { return argc > 1 ? argv[1] : nullptr; } int main(int argc, char *argv[]) { const char *TestFilter = getTestFilter(argc, argv); return __llvm_libc::testing::Test::runTests(TestFilter); }