mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 21:00:37 +02:00
Added Unit Tests to prep script
This commit is contained in:
10
prep.sh
10
prep.sh
@@ -37,6 +37,16 @@ runDoxygen(){
|
|||||||
printLine "Doxygen finished." "\033[0;32m"
|
printLine "Doxygen finished." "\033[0;32m"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runUnitTests(){
|
||||||
|
printLine "Running Unit Tests..."
|
||||||
|
qmake src/IntelliUnitTest.pro || { printLine "ERROR: qmake not found!" "\033[0;33m"; return; }
|
||||||
|
cd src
|
||||||
|
make || { printLine "ERROR: make not found!" "\033[0;33m"; return; }
|
||||||
|
./IntelliUnitTest
|
||||||
|
cd ..
|
||||||
|
printLine "Doxygen finished." "\033[0;32m"
|
||||||
|
}
|
||||||
|
|
||||||
gitCommit(){
|
gitCommit(){
|
||||||
printLine "Committing Changes to Git..."
|
printLine "Committing Changes to Git..."
|
||||||
git add '*' || { printLine "ERROR: git not found!" "\033[0;33m"; return; }
|
git add '*' || { printLine "ERROR: git not found!" "\033[0;33m"; return; }
|
||||||
|
|||||||
Reference in New Issue
Block a user