File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -374,11 +374,13 @@ jobs:
374
374
env :
375
375
PPC_NUM_THREADS : 2
376
376
LLVM_PROFILE_FILE : " build/llvm_profile_%p_%m.profraw"
377
+ PPC_DISABLE_VALGRIND : 1
377
378
- name : Run tests (threads)
378
379
run : scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
379
380
env :
380
381
PPC_NUM_PROC : 1
381
382
LLVM_PROFILE_FILE : " build/llvm_profile_%p_%m.profraw"
383
+ PPC_DISABLE_VALGRIND : 1
382
384
- name : Generate LLVM Coverage Data
383
385
run : |
384
386
scripts/generate_llvm_coverage.py \
Original file line number Diff line number Diff line change @@ -103,7 +103,9 @@ def __get_gtest_settings(repeats_count, type_task):
103
103
104
104
def run_threads (self ):
105
105
"""Run tests in threading mode."""
106
- if platform .system () == "Linux" and not self .__ppc_env .get ("PPC_ASAN_RUN" ):
106
+ if (platform .system () == "Linux" and
107
+ not self .__ppc_env .get ("PPC_ASAN_RUN" ) and
108
+ not self .__ppc_env .get ("PPC_DISABLE_VALGRIND" )):
107
109
for task_type in ["seq" , "stl" ]:
108
110
self .__run_exec (
109
111
shlex .split (self .valgrind_cmd )
@@ -119,7 +121,9 @@ def run_threads(self):
119
121
120
122
def run_core (self ):
121
123
"""Run core functionality tests."""
122
- if platform .system () == "Linux" and not self .__ppc_env .get ("PPC_ASAN_RUN" ):
124
+ if (platform .system () == "Linux" and
125
+ not self .__ppc_env .get ("PPC_ASAN_RUN" ) and
126
+ not self .__ppc_env .get ("PPC_DISABLE_VALGRIND" )):
123
127
self .__run_exec (
124
128
shlex .split (self .valgrind_cmd )
125
129
+ [str (self .work_dir / 'core_func_tests' )]
You can’t perform that action at this time.
0 commit comments