beehive-lab / TornadoVM

TornadoVM: A practical and efficient heterogeneous programming framework for managed languages
https://www.tornadovm.org
Apache License 2.0
1.18k stars 112 forks source link

Syntax warning fixed for the unit-test script #326

Closed jjfumero closed 7 months ago

jjfumero commented 7 months ago

Description

There was a syntax warning in the unit-test script with Python 3.12.1 (default in Fedora 39). This PR fixes the issue and it updates the list of ignorable files in GIT.

Problem description

The problem was as follows:

$ tornado-test --ea --verbose
/home/juan/tornadovm/TornadoVM/bin/bin/tornado-test:552: SyntaxWarning: invalid escape sequence '\.'
  return subprocess.Popen(javaHome + '/bin/java -version 2>&1 | awk -F[\\\"\.] -v OFS=. \'NR==1{print $2,$3}\'',

Backend/s tested

The PR is independent of the backend.

OS tested

Mark the OS where this PR is tested.

Did you check on FPGAs?

If it is applicable, check your changes on FPGAs.

How to test the new patch?

$ make
$ make tests