summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-11-30 10:19:23 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-12-06 19:06:30 +0100
commit9e835fe5a4f8b266082869fc4c0b218c8eec75fd (patch)
treecd6d42552cd2007ef74344d3c23c7817e2a3cfd9 /.gitattributes
parentd5c605b14896a444430414a7dc719397107cdc9d (diff)
tst_BenchlibCallgrind: fix x86 preprocessor check
Its twoHundredMillionInstructions() test has #if-ery to limit it to gcc and x86; however, it was testing only __i386 for the x86 part, where gcc defines __x86_64 instead on modern 64-bit systems. In the process, invert the condition and the branches it controls - positive tests are easier to comprehend. Change-Id: I8e906c606c48aa5034e02e3ed5d042fbb1f2ecbc Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions