Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
debug updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sciabarracom committed Jun 17, 2020
1 parent f551d6e commit 5a76332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DEBUG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ The test command saves the test output in `difftest.out`
The `difftest.py` comes to the rescue, you pass the test output and returns a list of failed tests , with an index:

```
$ python3 difftest.py difftest.out
$ python3 difftest.py
0 --- FAIL: ExampleIdeDockerRun (0.00s)
1 --- FAIL: ExampleStart (1.03s)
```

Then you can see what went wrong in a single test passing the index:

```
$ python3 difftest.py difftest.out 1
$ python3 difftest.py 1
31c31
< docker run -d -p 3000:3000 --rm --name iosdk-theia -e HOME=/home/project --add-host=openwhisk: 172.17.0.2 -v /tmp/iosdk-test/javascript:/home/project pagopa/iosdk-theia:test
---
Expand Down

0 comments on commit 5a76332

Please sign in to comment.