установочные тесты julia 1.0 - nix-pkgs - ubuntu - PullRequest
0 голосов
/ 01 сентября 2018

Мой ноутбук:

Linux g-TP 4.13.0-26-generic # 29 ~ 16.04.2-Ubuntu SMP Вт 9 января 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU / Linux

Я установил julia через nix-env и получил следующий результат теста

Test Summary: |     Pass  Broken     Total
  Overall     | 37420635  327815  37748450
    SUCCESS

Что можно / нужно сделать для устранения неисправностей 327815?

1 Ответ

0 голосов
/ 02 сентября 2018

Тест, помеченный как поврежденный (с помощью @test_broke), не приводит к сбою теста, все тесты пройдены, как указано SUCCESS в выходных данных.

Из документов @test_broken:

help?> @test_broken
  @test_broken ex

  Indicates a test that should pass but currently consistently fails.
  Tests that the expression ex evaluates to false or causes an exception.
  Returns a Broken Result if it does, or an Error Result if the expression evaluates to true.

Пример:

julia> using Test

julia> @testset begin
           @test 1 == 1 # results in a Pass
           @test 1 == 2 # results in a Fail
           @test_broken 1 == 2 # results in a Broken
       end

Test Summary: | Pass  Fail  Broken  Total
test set      |    1     1       1      3
ERROR: Some tests did not pass: 1 passed, 1 failed, 0 errored, 1 broken.
...