Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

Commit 666563b

Browse files
committed
Exclude some large tables from coverage.
1 parent 017cf14 commit 666563b

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

src/blas/error.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Base.showerror(io::IO, err::CUBLASError) =
1111

1212
name(err::CUBLASError) = string(err.code)
1313

14+
## COV_EXCL_START
1415
function description(err)
1516
if err.code == CUBLAS_STATUS_SUCCESS
1617
"the operation completed successfully"
@@ -36,6 +37,7 @@ function description(err)
3637
"no description for this error"
3738
end
3839
end
40+
## COV_EXCL_STOP
3941

4042

4143
## API call wrapper

src/fft/error.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Base.showerror(io::IO, err::CUFFTError) =
1111

1212
name(err::CUFFTError) = string(err.code)
1313

14+
## COV_EXCL_START
1415
function description(err::CUFFTError)
1516
if err.code == CUFFT_SUCCESS
1617
"the operation completed successfully"
@@ -50,6 +51,7 @@ function description(err::CUFFTError)
5051
"no description for this error"
5152
end
5253
end
54+
## COV_EXCL_STOP
5355

5456

5557
## API call wrapper

src/rand/error.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Base.showerror(io::IO, err::CURANDError) =
1111

1212
name(err::CURANDError) = string(err.code)
1313

14+
## COV_EXCL_START
1415
function description(err)
1516
if err.code == CURAND_STATUS_SUCCESS
1617
"generator was created successfully"
@@ -42,6 +43,7 @@ function description(err)
4243
"no description for this error"
4344
end
4445
end
46+
## COV_EXCL_STOP
4547

4648

4749
## API call wrapper

src/solver/error.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Base.showerror(io::IO, err::CUSOLVERError) =
1111

1212
name(err::CUSOLVERError) = string(err.code)
1313

14+
## COV_EXCL_START
1415
function description(err)
1516
if err.code == CUSOLVER_STATUS_SUCCESS
1617
"the operation completed successfully"
@@ -32,6 +33,7 @@ function description(err)
3233
"no description for this error"
3334
end
3435
end
36+
## COV_EXCL_STOP
3537

3638

3739
## API call wrapper

src/tensor/error.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Base.showerror(io::IO, err::CUTENSORError) =
1111

1212
name(err::CUTENSORError) = unsafe_string(cutensorGetErrorString(err))
1313

14+
## COV_EXCL_START
1415
function description(err::CUTENSORError)
1516
if err.code == CUTENSOR_STATUS_SUCCESS
1617
"the operation completed successfully"
@@ -44,6 +45,7 @@ function description(err::CUTENSORError)
4445
"no description for this error"
4546
end
4647
end
48+
## COV_EXCL_STOP
4749

4850

4951
## API call wrapper

0 commit comments

Comments
 (0)