/*
    Copyright (c) 2005-2020 Intel Corporation

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

#define TBB_IMPLEMENT_CPP0X 1
#include "tbb/tbb_config.h"

#if __TBB_WIN8UI_SUPPORT
#define HARNESS_NO_PARSE_COMMAND_LINE 1
#include "harness.h"
int TestMain() {
    return Harness::Skipped;
}
#else
#include "tbb/compat/thread"
#define THREAD std::thread
#define THIS_THREAD std::this_thread
#define THIS_THREAD_SLEEP THIS_THREAD::sleep_for
#include "test_thread.h"
#include "harness.h"

int TestMain () {
    CheckSignatures();
    RunTests();
    return Harness::Done;
}
#endif
