1 | /******************************************************************************* |
---|---|
2 | Copyright (c) The Taichi Authors (2016- ). All Rights Reserved. |
3 | The use of this software is governed by the LICENSE file. |
4 | *******************************************************************************/ |
5 | |
6 | #include "taichi/common/core.h" |
7 | #include "taichi/common/task.h" |
8 | #include "taichi/util/testing.h" |
9 | |
10 | namespace taichi { |
11 | |
12 | class RunTests : public Task { |
13 | std::string run(const std::vector<std::string> ¶meters) override { |
14 | return std::to_string(run_tests(parameters)); |
15 | } |
16 | }; |
17 | |
18 | TI_IMPLEMENTATION(Task, RunTests, "test"); |
19 | |
20 | } // namespace taichi |
21 |