8000 Bug fix/coverage (#20607) · 0ArtemBabaev/arangodb@bdac13f · GitHub
[go: up one dir, main page]

Skip to content

Commit bdac13f

Browse files
dothebartKVS85
andauthored
Bug fix/coverage (arangodb#20607)
* debug * forward more flags * dedebug * switch to lcov handling --------- Co-authored-by: Vadim Kondratev <vadim@arangodb.com>
1 parent af65ece commit bdac13f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3rdParty/v8-build/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ else ()
356356
string(REGEX REPLACE "-Werror( |$)" "" V8_CFLAGS ${V8_CXXFLAGS})
357357
string(REGEX REPLACE "-Werror( |$)" "" V8_CXXFLAGS ${V8_CXXFLAGS})
358358

359-
set(V8_LDFLAGS "${CMAKE_EXE_LINKER_FLAGS} $ENV{V8_LDFLAGS}")
359+
set(V8_LDFLAGS "${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_LD_FLAGS} $ENV{V8_LDFLAGS}")
360360

361361
# for V8 we minimal debug information is more than enough
362362
set(V8_CFLAGS "${V8_CFLAGS} -g1 -gno-column-info -gz")

js/client/modules/@arangodb/testutils/process-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ const TOP_DIR = (function findTopDir () {
338338
// create additional system environment variables for coverage
339339
function coverageEnvironment () {
340340
let result = [];
341-
let name = 'GCOV_PREFIX';
341+
let name = 'LLVM_PROFILE_FILE';
342342

343343
if (process.env.hasOwnProperty(name)) {
344344
result.push(

0 commit comments

Comments
 (0)
0