Skip to content

Commit

Permalink
Merge pull request #26 from Rot127/small-fixes
Browse files Browse the repository at this point in the history
Some small fixes
  • Loading branch information
Rot127 authored Mar 17, 2024
2 parents 5693c49 + e705b6a commit 046bd95
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: black

on: [pull_request, push]
on: [push]

jobs:
linter:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flake8

on: [pull_request, push]
on: [push]

jobs:
linter:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: reuse

on: [pull_request, push]
on: [push]

jobs:
linter:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Unit Tests Transformer
name: Unit Tests

on: [pull_request, push]
on: [push]

jobs:
run:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ pip3 install -e .
**Compile all instructions and show exceptions which occurred.**

```bash
./Compiler.py -a Hexagon -t
./rzilcompiler/Compiler.py -a Hexagon -t
```

**Run tests**

```bash
python -m unittest Tests/test_all.py
python -m unittest ./rzilcompiler/Tests/test_all.py
```

## Code generation
Expand Down
2 changes: 1 addition & 1 deletion rzilcompiler/Tests/TestTransformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@ def test_reg_jump_flag_setter(self):
// EXEC
// WRITE
RzILOpEffect *jump_const_0x0_0_1 = SEQ2(SETL("jump_flag", IL_TRUE), JMP(SN(32, 0)));
RzILOpEffect *jump_const_0x0_0_1 = SEQ2(SETL("jump_flag", IL_TRUE), SETL("jump_target", SN(32, 0)));
RzILOpEffect *instruction_sequence = jump_const_0x0_0_1;
return instruction_sequence;""".replace(
Expand Down

0 comments on commit 046bd95

Please sign in to comment.