conda-forge / libignition-rendering4-feedstock

A conda-smithy repository for libignition-rendering4.
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Disable check_ tests on Windows #2

Closed traversaro closed 3 years ago

traversaro commented 3 years ago

Checklist

See https://github.com/conda-forge/libignition-rendering4-feedstock/issues/1 .

conda-forge-linter commented 3 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

traversaro commented 3 years ago

The error is:

Checking for test results in D:/bld/libignition-rendering4_1611401669303/work/build/test_results/UNIT_Text_TEST.xml
Traceback (most recent call last):
  File "%SRC_DIR%\tools\check_test_ran.py", line 111, in <module>
    check_main()
  File "%SRC_DIR%\tools\check_test_ran.py", line 104, in check_main
    stdout, stderr = run_grep(test_file, "QtVersion")
  File "%SRC_DIR%\tools\check_test_ran.py", line 57, in run_grep
    process = subprocess.Popen(['grep', arg, filename], stdout=subprocess.PIPE)
  File "%PREFIX%\lib\subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "%PREFIX%\lib\subprocess.py", line 1416, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

So it seems it is due to grep not being found, see https://github.com/ignitionrobotics/ign-rendering/blob/ignition-rendering4_4.2.0/tools/check_test_ran.py#L57 . Interestingly, it seems that the similar tests passes in other ignition projects because their check_test_ran.py is different and does not uses grep, see https://github.com/ignitionrobotics/ign-math/blob/ignition-math6_6.7.0/tools/check_test_ran.py . As I don't know how to reliably get grep in conda-forge on Windows, let's skip this check_ tests, as the regular tests are instead working fine. cc @JShep1

traversaro commented 3 years ago

@conda-forge-admin, please rerender

github-actions[bot] commented 3 years ago

Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do.