mirror of
https://github.com/gulrak/filesystem.git
synced 2026-07-30 16:26:11 +08:00
Define CATCH_CONFIG_NO_COUNTER across tests to disable Catch2's counter feature for broader compiler support.
This commit is contained in:
parent
8741115872
commit
79ce44f0a6
@ -82,6 +82,7 @@ using fstream = ghc::filesystem::fstream;
|
|||||||
#ifndef GHC_FILESYSTEM_FWD_TEST
|
#ifndef GHC_FILESYSTEM_FWD_TEST
|
||||||
#define CATCH_CONFIG_MAIN
|
#define CATCH_CONFIG_MAIN
|
||||||
#endif
|
#endif
|
||||||
|
#define CATCH_CONFIG_NO_COUNTER
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|
||||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|||||||
@ -5,4 +5,5 @@
|
|||||||
// are included here, signaling they should only include the fs_fwd.hpp)
|
// are included here, signaling they should only include the fs_fwd.hpp)
|
||||||
#include <ghc/fs_impl.hpp>
|
#include <ghc/fs_impl.hpp>
|
||||||
#define CATCH_CONFIG_MAIN
|
#define CATCH_CONFIG_MAIN
|
||||||
|
#define CATCH_CONFIG_NO_COUNTER
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
//
|
//
|
||||||
//---------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------
|
||||||
#define CATCH_CONFIG_MAIN
|
#define CATCH_CONFIG_MAIN
|
||||||
|
#define CATCH_CONFIG_NO_COUNTER
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|
||||||
#include <ghc/filesystem.hpp>
|
#include <ghc/filesystem.hpp>
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
//
|
//
|
||||||
//---------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------
|
||||||
|
#define CATCH_CONFIG_NO_COUNTER
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
#include <ghc/filesystem.hpp>
|
#include <ghc/filesystem.hpp>
|
||||||
namespace fs = ghc::filesystem;
|
namespace fs = ghc::filesystem;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user