Commit 3ae054f1 authored by Tom Niget's avatar Tom Niget

Update README and .env.example

parent 4e714a9c
......@@ -28,4 +28,6 @@ Install the dependencies using `pip3 install -r requirements.txt`.
## Test harness
From inside the `trans` directory, run `python3 test_runner.py`.
\ No newline at end of file
`cd` into the `trans` directory, set up your `.env` file (you can copy the `.env.example` file), and run `python3 test_runner.py`.
If you're getting include errors, make sure you've cloned the runtime submodule. If you forgot, run `git submodule update --init --recursive`.
\ No newline at end of file
ALT_RUNNER='ssh tom@ubuntu-nexedi "cd /mnt/hgfs/C/GitHub/typon/trans; clang++-16 -O3 -Wno-deprecated-declarations -Wno-return-type -Wno-unused-result -I../rt/include -std=c++20 $(python3 -m pybind11 --includes) -o {name_bin} {name_cpp_posix} -pthread -luring -lfmt -lssl -lcrypto -lpython3.10 && {run_file} && {name_bin}"'
ALT_RUNNER='clang++-16 -O3 -Wno-deprecated-declarations -Wno-return-type -Wno-unused-result -std=c++20 $(python3 __main__.py --cpp-flags) -o {name_bin} {name_cpp_posix} && {run_file} && {name_bin}'
\ No newline at end of file
......@@ -25,7 +25,7 @@ args = parser.parse_args()
def run_tests():
for path in Path('tests').glob('*.py'):
for path in sorted(Path('tests').glob('*.py')):
if args.only and path.stem not in args.only:
continue
print(path.name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment