From 11c8f05f5346bab18d0bf07c8f3f26fc020db518 Mon Sep 17 00:00:00 2001 From: David Stevens <stevensd@google.com> Date: Tue, 14 May 2019 00:18:07 +0000 Subject: [PATCH] [kstress] Fix build file after refactor Change-Id: Iec766864267074711f7dcc298a037a4288ac7489 --- zircon/system/uapp/kstress/BUILD.gn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zircon/system/uapp/kstress/BUILD.gn b/zircon/system/uapp/kstress/BUILD.gn index e4e7ea8e804..f746bc68acd 100644 --- a/zircon/system/uapp/kstress/BUILD.gn +++ b/zircon/system/uapp/kstress/BUILD.gn @@ -16,4 +16,11 @@ executable("kstress") { "$zx/system/ulib/zircon", "$zx/system/ulib/zx", ] + + # The vmstress test has starvation issues when run without the fair scheduler. + if (enable_fair_scheduler) { + sources += ["vmstress.cpp"] + } else { + defines = [ "DISABLE_VMSTRESS" ] + } } -- GitLab