Skip to content

Commit

Permalink
Rename the prefix to tokens.
Browse files Browse the repository at this point in the history
Updade the tests
  • Loading branch information
Thirumalai-Shaktivel committed Apr 1, 2022
1 parent 4a0ae9f commit 896164e
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 171 deletions.
2 changes: 1 addition & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main():
filename, update_reference, extra_args)

if tokens:
run_test("cpp", "lpython --no-color --show-tokens {infile} -o {outfile}",
run_test("tokens", "lpython --no-color --show-tokens {infile} -o {outfile}",
filename, update_reference, extra_args)

print()
Expand Down
13 changes: 0 additions & 13 deletions tests/reference/cpp-complex2-cc31ff8.json

This file was deleted.

44 changes: 0 additions & 44 deletions tests/reference/cpp-complex2-cc31ff8.stdout

This file was deleted.

13 changes: 0 additions & 13 deletions tests/reference/cpp-dictionary1-6564213.json

This file was deleted.

41 changes: 0 additions & 41 deletions tests/reference/cpp-dictionary1-6564213.stdout

This file was deleted.

13 changes: 0 additions & 13 deletions tests/reference/cpp-set1-89cc208.json

This file was deleted.

40 changes: 0 additions & 40 deletions tests/reference/cpp-set1-89cc208.stdout

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"basename": "cpp-comment1-2f8ab90",
"basename": "tokens-comment1-2f8ab90",
"cmd": "lpython --no-color --show-tokens {infile} -o {outfile}",
"infile": "tests/tokens/comment1.py",
"infile_hash": "27258459bf39e8c5bcaa41e7fef8a593775a915273787edc46c73b4d",
"outfile": null,
"outfile_hash": null,
"stdout": "cpp-comment1-2f8ab90.stdout",
"stdout": "tokens-comment1-2f8ab90.stdout",
"stdout_hash": "39b458b1d715dfd275ef676390dad2e5853cc9b0a7aa9b1c36011a79",
"stderr": null,
"stderr_hash": null,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"basename": "cpp-docstring1-1355fbb",
"basename": "tokens-docstring1-1355fbb",
"cmd": "lpython --no-color --show-tokens {infile} -o {outfile}",
"infile": "tests/tokens/docstring1.py",
"infile_hash": "76a733fb41e5cfebb1d9bd74a719fa2644e746ce06a64fbbf91358a8",
"outfile": null,
"outfile_hash": null,
"stdout": "cpp-docstring1-1355fbb.stdout",
"stdout": "tokens-docstring1-1355fbb.stdout",
"stdout_hash": "8002935592daf4c952a5edb182c847a27e183ec70c3239fd060545f8",
"stderr": null,
"stderr_hash": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"basename": "cpp-symbols1-658c990",
"basename": "tokens-symbols1-658c990",
"cmd": "lpython --no-color --show-tokens {infile} -o {outfile}",
"infile": "tests/tokens/symbols1.py",
"infile_hash": "4f8b111c9caf59245efae13d9d9efbf2ce5f2c42d0850079e6313903",
"outfile": null,
"outfile_hash": null,
"stdout": "cpp-symbols1-658c990.stdout",
"stdout": "tokens-symbols1-658c990.stdout",
"stdout_hash": "0c55157185187ddf4454e6129e742698606b70075a4e689d340f770f",
"stderr": null,
"stderr_hash": null,
Expand Down
File renamed without changes.

0 comments on commit 896164e

Please sign in to comment.