Skip to content

Commit

Permalink
separate build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Smit-create committed Mar 15, 2022
1 parent 6121864 commit fffe9e7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ci/build.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,3 @@ if $WIN == "1":
else:
cp lpython-$lpython_version/test-bld/src/runtime/liblfortran_runtime* src/runtime/
cp lpython-$lpython_version/test-bld/src/runtime/*.mod src/runtime/

# Run some simple compilation tests, works everywhere:
src/bin/lpython --version
# Compile and link separately
src/bin/lpython -c examples/expr2.py -o expr2.o
src/bin/lpython -o expr2 expr2.o
./expr2

# Test the new Python frontend, manually for now:
src/bin/lpython --show-ast tests/doconcurrentloop_01.py
src/bin/lpython --show-asr tests/doconcurrentloop_01.py
src/bin/lpython --show-cpp tests/doconcurrentloop_01.py

if $WIN != "1":
python run_tests.py
python integration_tests/run_tests.py
15 changes: 15 additions & 0 deletions ci/test.xsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Run some simple compilation tests, works everywhere:
src/bin/lpython --version
# Compile and link separately
src/bin/lpython -c examples/expr2.py -o expr2.o
src/bin/lpython -o expr2 expr2.o
./expr2

# Test the new Python frontend, manually for now:
src/bin/lpython --show-ast tests/doconcurrentloop_01.py
src/bin/lpython --show-asr tests/doconcurrentloop_01.py
src/bin/lpython --show-cpp tests/doconcurrentloop_01.py

if $WIN != "1":
python run_tests.py
python integration_tests/run_tests.py

0 comments on commit fffe9e7

Please sign in to comment.