LibompMicroTests.cmake: Invoke 'test' instead of using '[ x -eq y ]'
authorHans Wennborg <hans@hanshq.net>
Fri, 24 Jul 2015 21:24:48 +0000 (21:24 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 24 Jul 2015 21:24:48 +0000 (21:24 +0000)
commitfd4dfdcea1c9f52f4fc75c5c6d3d4acc078eb9f2
treec9da1a5549a69e480ed0e75c9761a1c028787354
parent7679afda82bb2401fe12f1a5d6c55876cfa8d04c
LibompMicroTests.cmake: Invoke 'test' instead of using '[ x -eq y ]'

I was getting this cmake error on Mac OS X:

  CMake Error: Error in cmake code at
  /tmp/openmp/runtime/cmake/LibompMicroTests.cmake:140:
  Parse error.  Function missing ending ")".  Instead found bad character with text "[".

Perhaps invoking 'test' is less confusing for cmake.

Differential Revision: http://reviews.llvm.org/D11493

llvm-svn: 243165
openmp/runtime/cmake/LibompMicroTests.cmake