Skip to content

cloc_tests segfaults #8

Closed
Closed
@raunraun

Description

@raunraun

After a build cloc_tests segfaults. It looks like some files are not copied into the bin director. All other tests run and pass.

Log below:

[raun@localhost bin]$ ./cloc_tests
Iteration: 1
Error: Input file test_files/copybuffer.cl missing.

/home/raun/workspace/neo/unit_tests/offline_compiler/offline_compiler_tests.cpp:59: Failure
Expected: (nullptr) != (pOfflineCompiler), actual: 8-byte object <00-00 00-00 00-00 00-00> vs NULL

/home/raun/workspace/neo/unit_tests/offline_compiler/offline_compiler_tests.cpp:60: Failure
Value of: retVal
  Actual: -5151
Expected: 0
[  FAILED  ] OfflineCompilerTests.GoodArgTest
Error: Input file test_files/copybuffer.cl missing.

/home/raun/workspace/neo/unit_tests/offline_compiler/offline_compiler_tests.cpp:77: Failure
Value of: internalOptions
Expected: has substring "cl_khr_3d_image_writes"
  Actual: ""
[  FAILED  ] OfflineCompilerTests.TestExtensions
Error: Input file test_files/copybuffer.cl missing.

/home/raun/workspace/neo/unit_tests/offline_compiler/offline_compiler_tests.cpp:90: Failure
Expected: (nullptr) != (pOfflineCompiler), actual: 8-byte object <00-00 00-00 00-00 00-00> vs NULL

/home/raun/workspace/neo/unit_tests/offline_compiler/offline_compiler_tests.cpp:91: Failure
Value of: retVal
  Actual: -5151
Expected: 0
Segmentation fault (core dumped)
[raun@localhost bin]$

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions