Skip to content

Commit

Permalink
scripts/into_junit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Dec 21, 2024
1 parent 8f6ce4f commit 923eb59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
- [Installation](#installation)
- [Running MeTTaLog](#neckbeard-running-mettalog)
- [With Docker](#whale-running-mettalog-with-docker)
- [Continuous Reports](https://logicmoo.github.io/metta-testsuite/ci/)
- [Nightly Reports](https://logicmoo.github.io/metta-wam/nightly/)
- [More Reports](https://logicmoo.github.io/metta-wam)
- [Tests](https://github.com/logicmoo/metta-testsuite/blob/development/tests/) and [Result Links](https://github.com/logicmoo/metta-testsuite/blob/development/reports/TEST_LINKS.md)
- Continuous Reports [https://logicmoo.github.io/metta-testsuite/ci/](https://logicmoo.github.io/metta-testsuite/ci/)
- Nightly Reports [https://logicmoo.github.io/metta-wam/nightly/](https://logicmoo.github.io/metta-wam/nightly/)
- More Reports [https://logicmoo.github.io/metta-wam](https://logicmoo.github.io/metta-wam)
- [Testing Readme](https://github.com/logicmoo/metta-testsuite/blob/development/tests/README.md) and [Result Links](https://github.com/logicmoo/metta-testsuite/blob/development/reports/TEST_LINKS.md)
- [Overview Documentation](https://github.com/trueagi-io/metta-wam/blob/master/docs/OVERVIEW.md).

Expand Down
3 changes: 2 additions & 1 deletion scripts/into_junit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def create_testcase_element(testclass, testname, stdout, identifier, got, expect
testcase = ET.Element("testcase", classname=testclass, name=testname, time=time)

test_res = f"Assertion: {stdout}\nExpected: {expected}\nActual: {got}"
url = url.replace("/./","/").replace("//","/").replace(":/","://")
url = url.replace("/./","/").replace("//","/").replace(":/","://")
url = url.replace("github.io/metta-wam/","github.io/metta-testsuite/")
if testclass != 'WHOLE-TESTS':
testfile = testfile_name(url)
failcount = failcounts_dict[testfile]
Expand Down

0 comments on commit 923eb59

Please sign in to comment.