Don't stop on fail, archive all results, create .bad file on fail.

This commit is contained in:
mrg 2022-02-05 07:50:06 -08:00
parent e45e2f77c9
commit d716a1c361
2 changed files with 4 additions and 4 deletions

View File

@ -25,13 +25,13 @@ jobs:
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
#$OPENRAM_HOME/tests/regress.py -j 24 -t scn4m_subm
cd $OPENRAM_HOME/tests
make -j 36
make -k -j 36
- name: Archive
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: Regress Archives
path: ${{ github.workspace }}/compiler/tests/results/*.zip
path: ${{ github.workspace }}/compiler/tests/results/*
# freepdk45:
# runs-on: self-hosted
# steps:

View File

@ -63,11 +63,11 @@ $(TEST_BASES):
-e OPENRAM_TMP=$(OPENRAM_DIR)/results/$*/tmp \
vlsida/openram-ubuntu:latest \
sh -c ". /home/cad-user/.bashrc && python3 -u $(OPENRAM_DIR)/$(getfile).py \
-t $(gettech) -k $(ARGS) -p $(OPENRAM_DIR)/results/$* > $(OPENRAM_DIR)/results/$*.out 2>&1 && touch $(OPENRAM_DIR)/results/$*.ok"
-t $(gettech) -k $(ARGS) -p $(OPENRAM_DIR)/results/$* > $(OPENRAM_DIR)/results/$*.out 2>&1 && touch $(OPENRAM_DIR)/results/$*.ok || touch $(OPENRAM_DIR)/results/$*.bad"
@test -f $(TOP_DIR)/compiler/tests/results/$*.ok && echo "$* ... PASS!" || echo "$* ... FAIL!"
.DELETE_ON_ERROR: $(TEST_STAMPS)
# This would use the regress.py script to run in parallel instead of
# This would use the regress.py script to run in parallel instead of
# the Makefile.
#$(TECHS):
# @echo "Running $*"