Files
scylladb/test/lib/scylla_test_case.hh
Avi Kivity f3eade2f62 treewide: relicense to ScyllaDB-Source-Available-1.0
Drop the AGPL license in favor of a source-available license.
See the blog post [1] for details.

[1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
2024-12-18 17:45:13 +02:00

24 lines
664 B
C++

/*
* Copyright (C) 2023-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
*/
#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);
}