[Openmp-commits] [PATCH] D11493: LibompMicroTests.cmake: Invoke 'test' instead of using '[ x -eq y ]'

Hans Wennborg hans at chromium.org
Fri Jul 24 14:25:20 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL243165: LibompMicroTests.cmake: Invoke 'test' instead of using '[ x -eq y ]' (authored by hans).

Changed prior to commit:
  http://reviews.llvm.org/D11493?vs=30599&id=30608#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11493

Files:
  openmp/trunk/runtime/cmake/LibompMicroTests.cmake

Index: openmp/trunk/runtime/cmake/LibompMicroTests.cmake
===================================================================
--- openmp/trunk/runtime/cmake/LibompMicroTests.cmake
+++ openmp/trunk/runtime/cmake/LibompMicroTests.cmake
@@ -137,7 +137,7 @@
   OUTPUT  test-relo/.success test-relo/readelf.log
   COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/test-relo
   COMMAND readelf -d ${LIBOMP_OUTPUT_DIRECTORY}/${LIBOMP_LIB_FILE} > test-relo/readelf.log
-  COMMAND grep -e TEXTREL test-relo/readelf.log \; [ $$? -eq 1 ]
+  COMMAND grep -e TEXTREL test-relo/readelf.log \; test $$? -eq 1
   COMMAND ${CMAKE_COMMAND} -E touch test-relo/.success
   DEPENDS omp
 )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11493.30608.patch
Type: text/x-patch
Size: 688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20150724/d126f096/attachment.bin>


More information about the Openmp-commits mailing list