mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Use vanilla cxxtest functionallity
To disable tests we carry a patch which allows disabling test by appending DISABLED to the test function name. Instead just do as upstream says and prepend the test function so it won't be recognized as a test any longer. The docs suggest to prepend x but anything will do. Continue to use DISABLED_ but as prefix which is actually already in use in one case. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2021 Wildfire Games.
|
||||
/* Copyright (C) 2024 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
TS_ASSERT_EQUALS(HashCryptographically("D9895FDEE287DBEE19907B7329207F388B1708AC4A123CA537603E953885B20F", "foobar"), "8CE4D45113D5A682FE4B6F185C1880F83EEA6CB2F007E815DCA5BF4B8178ECD0");
|
||||
}
|
||||
|
||||
void test_hash_perf_DISABLED()
|
||||
void DISABLED_test_hash_perf()
|
||||
{
|
||||
double t = timer_Time();
|
||||
for (size_t i = 0; i < 100; ++i)
|
||||
|
||||
Reference in New Issue
Block a user