浏览代码

Tests: Fix ExportImport PCH expectation on Cray Classic compiler

Do not expect PCH-included definitions for this compiler.
Brad King 6 年之前
父节点
当前提交
77a8f9ecbc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tests/ExportImport/Import/Interface/pch_iface_test.cpp

+ 1 - 1
Tests/ExportImport/Import/Interface/pch_iface_test.cpp

@@ -3,7 +3,7 @@
 #  ifndef PCH_PCH_H_INCLUDED
 #    error "Expected PCH_PCH_H_INCLUDED."
 #  endif
-#elif defined(__PGIC__) || defined(__ibmxl__)
+#elif defined(__PGIC__) || defined(__ibmxl__) || defined(_CRAYC)
 // No PCH expected but these compilers define macros below.
 #elif defined(__GNUC__) || defined(__clang__) || defined(_INTEL_COMPILER) ||  \
   defined(_MSC_VER)