aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/CMakeLists.txt2
-rw-r--r--src/test/Profiling.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
index 9a4dfe7..c9cbac5 100644
--- a/src/test/CMakeLists.txt
+++ b/src/test/CMakeLists.txt
@@ -16,5 +16,5 @@ target_sources(test_main PUBLIC
InputTest.cpp
ScriptEventTest.cpp
ScriptSceneTest.cpp
- # Profiling.cpp #disabled for saving time
+ Profiling.cpp
)
diff --git a/src/test/Profiling.cpp b/src/test/Profiling.cpp
index 24ac494..bd99614 100644
--- a/src/test/Profiling.cpp
+++ b/src/test/Profiling.cpp
@@ -41,7 +41,7 @@ class TestScript : public Script {
}
};
-class Profiling : public Test {
+class DISABLED_ProfilingTest : public Test {
public:
// Config for test
// Minimum amount to let test pass
@@ -127,7 +127,7 @@ public:
}
};
-TEST_F(Profiling, Profiling_1) {
+TEST_F(DISABLED_ProfilingTest, Profiling_1) {
while (this->total_time / this->average < this->duration) {
{
@@ -150,7 +150,7 @@ TEST_F(Profiling, Profiling_1) {
EXPECT_GE(this->game_object_count, this->min_gameobject_count);
}
-TEST_F(Profiling, Profiling_2) {
+TEST_F(DISABLED_ProfilingTest, Profiling_2) {
while (this->total_time / this->average < this->duration) {
{
@@ -184,7 +184,7 @@ TEST_F(Profiling, Profiling_2) {
EXPECT_GE(this->game_object_count, this->min_gameobject_count);
}
-TEST_F(Profiling, Profiling_3) {
+TEST_F(DISABLED_ProfilingTest, Profiling_3) {
while (this->total_time / this->average < this->duration) {
{