Skip to content

Commit

Permalink
Merge pull request #2209 from Pinata-Consulting/test-delta-debug-make…
Browse files Browse the repository at this point in the history
…-use-case

Test delta debug make use case
  • Loading branch information
maliberty authored Aug 6, 2024
2 parents b65f060 + 4e97716 commit e0c1d5d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions flow/test/test_delta_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@
# variable names such as $(false), unused variables, etc.
set -ue -o pipefail

cd flow
testname=uart
cd "$(dirname "$0")/.."
. ../env.sh

echo "Test deltaDebug.py with a make invocation"
make DESIGN_CONFIG=designs/asap7/gcd/config.mk clean_all floorplan
openroad -exit -python ../tools/OpenROAD/etc/deltaDebug.py --persistence 2 --use_stdout --error_string "100 overflow" --base_db_path results/asap7/gcd/base/2_floorplan.odb --step "make DESIGN_CONFIG=designs/asap7/gcd/config.mk do-3_1_place_gp_skip_io"

echo "Test deltaDebug.py with a make issue"
testname=uart
make DESIGN_CONFIG=designs/asap7/$testname/config.mk place
make DESIGN_CONFIG=designs/asap7/$testname/config.mk global_place_issue
latest_file=$(ls -t global_place_${testname}_asap7_base*.tar.gz | head -n1)
echo "Testing $latest_file"
. ../env.sh
rm -rf results/delta-debug/
mkdir -p results/delta-debug/
cd results/delta-debug/
Expand Down

0 comments on commit e0c1d5d

Please sign in to comment.