Changeset 956:86878bb8d9f1 for test


Ignore:
Timestamp:
05/12/19 07:19:05 (6 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The test simulator is run with Python 3 (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test.sh

    r163 r956  
    22
    33scriptdir=`dirname $0`
    4 sim="${scriptdir}/../src/mlx/pyuipc_sim.py"
     4
     5PYTHONPATH="${scriptdir}/../src"
     6export PYTHONPATH
     7
     8sim="mlx.pyuipc_sim"
    59
    610host="localhost"
     
    1317for line in `cat $1`; do
    1418    read -p "$line"
    15     echo $line | python "${sim}" "${host}" >/dev/null
     19    echo $line | python3 -m "${sim}" "${host}" >/dev/null
    1620done
    1721IFS="${oldIFS}"
Note: See TracChangeset for help on using the changeset viewer.