This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix failing print-memory-usage-1 on Windows


Hi,

  The below trivial patch slightly relaxes the percentage used value in
  print-memory-usage-1.l to make it pass on Windows (Win 10 x64 using
  WSL subsystem).

  Ok for master?

Regards
Senthil

ld/ChangeLog

2017-01-31  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>

	* testsuite/ld-scripts/print-memory-usage-1.l: Relax
  check for digit in second decimal place.


diff --git ld/testsuite/ld-scripts/print-memory-usage-1.l ld/testsuite/ld-scripts/print-memory-usage-1.l
index 34bc895..e666a63 100644
--- ld/testsuite/ld-scripts/print-memory-usage-1.l
+++ ld/testsuite/ld-scripts/print-memory-usage-1.l
@@ -1,3 +1,3 @@
 Memory region         Used Size  Region Size  %age Used
-             ROM:          32 B         1 KB      3.12%
+             ROM:          32 B         1 KB      3.1[23]%
              RAM:          32 B       256 KB      0.01%


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]