mdbx-test: смена расширения у C++ исходников.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-11-08 16:17:14 +03:00
parent 652ca2b5cb
commit d315a9255a
28 changed files with 69 additions and 69 deletions

View File

@@ -2,32 +2,32 @@ enable_language(CXX)
include(../cmake/compiler.cmake)
set(LIBMDBX_TEST_SOURCES
base.h
cases.cc
chrono.cc
chrono.h
config.cc
config.h
copy.cc
dead.cc
hill.cc
jitter.cc
keygen.cc
keygen.h
log.cc
log.h
main.cc
osal.h
osal-unix.cc
osal-windows.cc
test.cc
test.h
try.cc
utils.cc
utils.h
append.cc
ttl.cc
nested.cc
base.h++
cases.c++
chrono.c++
chrono.h++
config.c++
config.h++
copy.c++
dead.c++
hill.c++
jitter.c++
keygen.c++
keygen.h++
log.c++
log.h++
main.c++
osal.h++
osal-unix.c++
osal-windows.c++
test.c++
test.h++
try.c++
utils.c++
utils.h++
append.c++
ttl.c++
nested.c++
)
if(NOT MDBX_BUILD_CXX)

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
class testcase_append : public testcase {
public:

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
registry *registry::instance() {
static registry *singleton;

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
namespace chrono {

View File

@@ -14,8 +14,8 @@
#pragma once
#include "base.h"
#include "utils.h"
#include "base.h++"
#include "utils.h++"
namespace chrono {

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
#if defined(_MSC_VER) && !defined(strcasecmp)
#define strcasecmp(str, len) _stricmp(str, len)

View File

@@ -14,9 +14,9 @@
#pragma once
#include "base.h"
#include "log.h"
#include "utils.h"
#include "base.h++"
#include "log.h++"
#include "utils.h++"
#define ACTOR_ID_MAX INT16_MAX

View File

@@ -1,4 +1,4 @@
#include "test.h"
#include "test.h++"
class testcase_copy : public testcase {
const std::string copy_pathname;

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
class testcase_deadread : public testcase {
public:

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
/* LY: тест "холмиком":
* - сначала наполняем таблицу циклическими CRUD-манипуляциями,

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
class testcase_jitter : public testcase {
protected:

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
namespace keygen {

View File

@@ -14,10 +14,10 @@
#pragma once
#include "base.h"
#include "config.h"
#include "log.h"
#include "utils.h"
#include "base.h++"
#include "config.h++"
#include "log.h++"
#include "utils.h++"
namespace keygen {

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
static void fflushall() { fflush(nullptr); }

View File

@@ -14,8 +14,8 @@
#pragma once
#include "base.h"
#include "chrono.h"
#include "base.h++"
#include "chrono.h++"
MDBX_NORETURN void usage(void);
MDBX_NORETURN void MDBX_PRINTF_ARGS(1, 2) failure(const char *fmt, ...);

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
#if !(defined(_WIN32) || defined(_WIN64))
#include <sys/resource.h>

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
#include <cmath>
/* LY: тест "эмуляцией time-to-live" с вложенными транзакциями:

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
#if !(defined(_WIN32) || defined(_WIN64))

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
#if defined(_WIN32) || defined(_WIN64)

View File

@@ -14,7 +14,7 @@
#pragma once
#include "base.h"
#include "base.h++"
void osal_setup(const std::vector<actor_config> &actors);
void osal_broadcast(unsigned id);

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
const char *testcase2str(const actor_testcase testcase) {
switch (testcase) {

View File

@@ -14,13 +14,13 @@
#pragma once
#include "base.h"
#include "chrono.h"
#include "config.h"
#include "keygen.h"
#include "log.h"
#include "osal.h"
#include "utils.h"
#include "base.h++"
#include "chrono.h++"
#include "config.h++"
#include "keygen.h++"
#include "log.h++"
#include "osal.h++"
#include "utils.h++"
#include <deque>
#include <set>

View File

@@ -1,4 +1,4 @@
#include "test.h"
#include "test.h++"
class testcase_try : public testcase {
public:

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
#include <cmath>
#include <deque>

View File

@@ -12,7 +12,7 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#include "test.h"
#include "test.h++"
#include <float.h>
#if defined(HAVE_IEEE754_H) || __has_include(<ieee754.h>)
#include <ieee754.h>

View File

@@ -13,7 +13,7 @@
*/
#pragma once
#include "base.h"
#include "base.h++"
#if !defined(__BYTE_ORDER__) || !defined(__ORDER_LITTLE_ENDIAN__) || \
!defined(__ORDER_BIG_ENDIAN__)