mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Drop valgrind from CI and instead enable ASan
The recently added ioctl use is reported as a false-positive by valgrind. I tried moving it to different compilers/versions two times and only hit further issues that were valgrind's fault. Also includes a tiny fix.
This commit is contained in:
@@ -108,6 +108,8 @@ void TestDataStructures::testMap1()
|
||||
break;
|
||||
}
|
||||
UASSERT(once);
|
||||
|
||||
map.clear(); // ASan complains about stack-use-after-scope otherwise
|
||||
}
|
||||
|
||||
void TestDataStructures::testMap2()
|
||||
@@ -121,6 +123,8 @@ void TestDataStructures::testMap2()
|
||||
UASSERT(t0.deleted);
|
||||
UASSERT(!t1.copied);
|
||||
UASSERT(!t1.deleted);
|
||||
|
||||
map.clear();
|
||||
}
|
||||
|
||||
void TestDataStructures::testMap3()
|
||||
|
Reference in New Issue
Block a user