Remove old script daca-test-patch.sh

This commit is contained in:
Daniel Marjamäki 2019-08-25 13:28:54 +02:00
parent 4bd9d76a4c
commit 931587c54b
1 changed files with 0 additions and 27 deletions

View File

@ -1,27 +0,0 @@
#!/bin/bash
#
# Test a patch using the daca script
#
# Arguments:
# $1: patch file name
# $2: daca folder
#
# Example usage:
# daca-test-patch.sh 1234.diff a
set -e
cd ~/cppcheck
git checkout -f
git apply $1
make clean
nice make MATCHCOMPILER=yes FILESDIR=~/cppcheck CXXFLAGS=-O2
mv cppcheck ~/daca2/cppcheck-patch
git checkout -f
nice make MATCHCOMPILER=yes FILESDIR=~/cppcheck CXXFLAGS=-O2
mv cppcheck ~/daca2/cppcheck-head
make clean
nice make
python tools/daca2.py --baseversion patch $2