Merge pull request #238 from lnis-uofu/dev

Move regression test scripts from workflow to openfpga_flow
This commit is contained in:
ganeshgore 2021-02-17 00:15:03 -07:00 committed by GitHub
commit 515527f7f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 7 deletions

View File

@ -230,7 +230,7 @@ jobs:
chmod +x yosys/yosys-smtbmc
- name: ${{matrix.config.name}}_GCC-8_(Ubuntu 18.04)
shell: bash
run: source openfpga.sh && source .github/workflows/${{matrix.config.name}}.sh
run: source openfpga.sh && source openfpga_flow/regression_test_scripts/${{matrix.config.name}}.sh
- name: Upload artifact
uses: actions/upload-artifact@v2
if: ${{ failure() }}
@ -266,7 +266,7 @@ jobs:
bash .github/workflows/install_dependencies_run.sh
${PYTHON_EXEC} -m pip install -r requirements.txt
rsync -am --exclude='openfpga_flow/**' /opt/openfpga/. .
source openfpga.sh && source .github/workflows/${{matrix.config.name}}.sh
source openfpga.sh && source openfpga_flow/regression_test_scripts/${{matrix.config.name}}.sh
- name: Upload artifact
uses: actions/upload-artifact@v2
if: ${{ failure() }}

View File

@ -114,9 +114,6 @@ run-task basic_tests/global_tile_ports/global_tile_clock --debug --show_thread_l
run-task basic_tests/global_tile_ports/global_tile_reset --debug --show_thread_logs
run-task basic_tests/global_tile_ports/global_tile_4clock --debug --show_thread_logs
echo -e "Testing yosys flow using custom ys script for running quicklogic device";
run-task quicklogic_tests/flow_test --debug --show_thread_logs
# Repgression test to test multi-user enviroment
cp -r */*/basic_tests/full_testbench/configuration_chain /tmp/
cd /tmp/ && run-task configuration_chain --debug --show_thread_logs
cd /tmp/ && run-task configuration_chain --debug --show_thread_logs

View File

@ -260,9 +260,13 @@ def main():
if args.power:
run_ace2()
run_pro_blif_3arg()
run_rewrite_verilog()
else:
# Make a copy of the blif file to be compatible with vpr flow
shutil.copy(args.top_module+'_yosys_out.blif', args.top_module+".blif")
# Always Generate the post-synthesis verilog files
run_rewrite_verilog()
if (args.fpga_flow == "vpr_blif"):
collect_files_for_vpr()
logger.info("Runing OpenFPGA Shell Engine ")