summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor/PnorUtils.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/buildpnor/PnorUtils.pm')
-rw-r--r--src/build/buildpnor/PnorUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/buildpnor/PnorUtils.pm b/src/build/buildpnor/PnorUtils.pm
index 6128c298b..7011910f9 100644
--- a/src/build/buildpnor/PnorUtils.pm
+++ b/src/build/buildpnor/PnorUtils.pm
@@ -431,7 +431,7 @@ sub checkSpaceConstraints
{
# If this is a test run increase HBI size by PAGE_SIZE until all test
# cases fit
- if ($eyeCatch eq "HBI")
+ if ( $testRun && ($eyeCatch eq "HBI") )
{
print "Adjusting HBI size - ran out of space for test cases\n";
adjustSecPhysSize(\%sectionHash, $layoutKey, $filesize);
OpenPOWER on IntegriCloud