1. 01 Feb, 2022 2 commits
    • uxrog's avatar
      Merge branch 'fix-inf-tests' into 'master' · c0700765
      uxrog authored
      Fix .inf.java and .inf.mj tests
      
      See merge request !11
      c0700765
    • Joscha's avatar
      Fix .inf.java and .inf.mj tests · 1d3d9afe
      Joscha authored
      Previously, there was a race condition between the RLIMIT_CPU timeout
      (which resulted in a SIGKILL return code, meaning test failure) and the
      subprocess.Popen.communicate timeout (which resulted in a
      subprocess.TimeoutExpired exception that was converted to a SIGXCPU
      return code, meaning test success). This meant that .inf.java and
      .inf.mj tests would semi-consistently fail.
      
      This fixes that issue by increasing the RLIMIT_CPU timeout to five
      seconds longer than the subprocess.Popen.communicate timeout. I won't
      pretend that this is anything but a quick dirty fix, but at least it
      matches the style of the rest of mjtest.
      1d3d9afe
  2. 17 Jan, 2022 1 commit
  3. 06 Jan, 2022 1 commit
    • Joscha's avatar
      Fix rlimits being set to floats · 8f8c58b3
      Joscha authored
      From what I can tell, rlimits must be integral values. In Python 3.10,
      floats are not converted any more, instead a ValueError is thrown, which
      breaks mjtest horribly.
      8f8c58b3
  4. 13 Dec, 2021 2 commits
  5. 30 Nov, 2021 1 commit
  6. 29 Nov, 2021 2 commits
  7. 27 Nov, 2021 1 commit
    • I-Al-Istannen's avatar
      Correct output alignment · 51a1ae61
      I-Al-Istannen authored
      This changes the output from
      ```
      [SUCCESS] ast:AssignmentExpressionStatementAfterIf.valid.mjcorrect
      [SUCCESS] ast:BlockStatement.mj                   correct
      [SUCCESS] ast:Braces.valid.mj                     correct
      [SUCCESS] ast:ComplexExpression.valid.mj          correct
      [SUCCESS] ast:DeeplyNestedCalc.valid.mj           correct
      [SUCCESS] ast:DerCompilerMain.valid.mj            correct
      [SUCCESS] ast:Empty.valid.mj                      correct
      [SUCCESS] ast:EmptyClassNamedStaticMethod.mj      correct
      [SUCCESS] ast:EveryPossibleLanguageConstruct.valid.mjcorrect
      ```
      
      to
      ```
      [SUCCESS] semantic:FlushInStream.invalid.mj                          correct
      [SUCCESS] semantic:InvalidAssignment3.invalid.mj                     correct
      [SUCCESS] semantic:IntAssignmentInIf.invalid.mj                      correct
      [SUCCESS] semantic:ExpressionStatementWithoutSideEffects.invalid.mj  correct
      [SUCCESS] semantic:InvalidTypeOnAssignment.invalid.mj                correct
      [SUCCESS] semantic:FibonacciViaLocalVars.valid.mj                    correct
      [FAIL   ] semantic:LargeNegativeIntegerLiteral.invalid.mj            incorrect return code
      ```
      51a1ae61
  8. 26 Nov, 2021 1 commit
  9. 04 Nov, 2021 6 commits
  10. 18 Oct, 2021 1 commit
  11. 25 Feb, 2019 1 commit
  12. 09 Feb, 2019 1 commit
    • uwdkn's avatar
      testup · c5e452f4
      uwdkn authored
      c5e452f4
  13. 27 Jan, 2019 1 commit
  14. 24 Jan, 2019 1 commit
    • andreas.fried's avatar
      Increase data rlimit to 8GB. · ee340374
      andreas.fried authored
      mandelbrot_mutable and index_overflow_test2 seem to run into this limit
      and crash with "SIGSEGV: Resource temporarily unavailable".
      ee340374
  15. 22 Jan, 2019 1 commit
  16. 19 Jan, 2019 1 commit
  17. 18 Jan, 2019 2 commits
  18. 15 Jan, 2019 1 commit
  19. 14 Jan, 2019 1 commit
  20. 17 Dec, 2018 3 commits
  21. 11 Dec, 2018 3 commits
  22. 09 Dec, 2018 1 commit
    • uqddy's avatar
      Fix #3 · 50865c2d
      uqddy authored
      50865c2d
  23. 04 Dec, 2018 1 commit
  24. 01 Dec, 2018 1 commit
  25. 26 Nov, 2018 1 commit
  26. 18 Nov, 2018 1 commit
  27. 17 Nov, 2018 1 commit