-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathCheck.h
More file actions
26 lines (22 loc) · 1001 Bytes
/
Check.h
File metadata and controls
26 lines (22 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===- Check.h - Functions for checking test results-------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
//
//
//===----------------------------------------------------------------------===//
#ifndef OFFLOADTEST_SUPPORT_CHECK_H
#define OFFLOADTEST_SUPPORT_CHECK_H
#include "Pipeline.h"
/// verifies an offload test Result
/// Calls the test, corresponding to the Rule specified in the Result,
/// On the Actual and Expected Buffers
/// \param R Result to verify
/// \param EmitDetailedReport If false, suppress detailed diff/report output
/// \returns Success if the test passes according to the specified Rule
llvm::Error verifyResult(offloadtest::Result R, bool EmitDetailedReport = true);
#endif // OFFLOADTEST_SUPPORT_CHECK_H