Skip to content

Some tests fails to open .txt files. #53

@ufrshubham

Description

@ufrshubham

Describe the bug
Directory structure generated by MSVC compiler is a little different. This causes all the tests using txt files to fail, because they don't find the required input *.txt files. It seems cmake files will have to be modified to copy all the txt files to correct location depending on current platform.

To Reproduce
Steps to reproduce the behavior:

  1. Clone this repo on a Windows machine.
  2. Build it with cmake and MSVC compiler.
  3. Run tests.
  4. Some tests fail to open *.txt file.

Expected behavior
Tests should pass.

Desktop:

  • OS: Windows 10

Additional context
if(WIN32) can be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions