mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-22 15:52:13 +00:00
24 lines
664 B
C++
24 lines
664 B
C++
/*
|
|
* Copyright (C) 2023-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* That's to define a new entry point that process scylla tests specific options */
|
|
#undef SEASTAR_TESTING_MAIN
|
|
|
|
#include <seastar/testing/test_case.hh>
|
|
#include <seastar/testing/thread_test_case.hh>
|
|
#include <seastar/testing/entry_point.hh>
|
|
#include "test/lib/scylla_tests_cmdline_options.hh"
|
|
|
|
int main(int argc, char** argv) {
|
|
scylla_tests_cmdline_options_processor processor;
|
|
auto [new_argc, new_argv] = processor.process_cmdline_options(argc, argv);
|
|
return seastar::testing::entry_point(new_argc, new_argv);
|
|
}
|