Skip to content

Commit

Permalink
Merge pull request #510 from hvdijk/macos-disable-tests
Browse files Browse the repository at this point in the history
Fix x86 compiler, disable test for macOS.
  • Loading branch information
hvdijk authored Jul 26, 2024
2 parents acb9c17 + 10474f0 commit a776d72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions modules/compiler/targets/host/source/info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ void HostInfo::get(compiler::AddCompilerFn add_compiler) {
HOST_CROSS_DEVICE_NAME_AARCH64));
#endif
#ifdef HOST_CROSS_X86
add_compiler(getCrossCompilerInfo<host::arch::X86, HOST_OS>(
add_compiler(getCrossCompilerInfo<host::arch::X86, host::os::LINUX>(
HOST_CROSS_DEVICE_NAME_X86));
#endif
#ifdef HOST_CROSS_X86_64
add_compiler(getCrossCompilerInfo<host::arch::X86_64, HOST_OS>(
add_compiler(getCrossCompilerInfo<host::arch::X86_64, host::os::LINUX>(
HOST_CROSS_DEVICE_NAME_X86_64));
#endif
#ifdef HOST_CROSS_RISCV32
Expand Down
8 changes: 3 additions & 5 deletions source/cl/test/UnitCL/source/ktst_precision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,9 @@ T Remquo7BitRef(T x, T y, cl_int &quo_out) {
}
} // namespace

#ifdef __arm__
// TODO: CA-2730
TEST_P(Execution, DISABLED_Precision_01_Pow_Func) {
#elif defined(_WIN32)
// TODO: CA-3492
#if defined(__arm__) || defined(_WIN32) || defined(__APPLE__)
// TODO This test has double precision reference results and we only pass when
// we can pretend they are extended precision reference results.
TEST_P(Execution, DISABLED_Precision_01_Pow_Func) {
#else
TEST_P(Execution, Precision_01_Pow_Func) {
Expand Down

0 comments on commit a776d72

Please sign in to comment.