summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Helfrich <helfrich9000@gmail.com>2007-10-22 20:39:27 +0000
committerBrian Helfrich <helfrich9000@gmail.com>2007-10-22 20:39:27 +0000
commitf1cdaa5bb3022a7fa1a407241073f61f6e25d5c7 (patch)
tree540f03fed1a81f3518c1c3b32e70c5cfcef3310c
parenteac124e8bdf56766d59ebb3af64873d5140e004b (diff)
downloadnanoengineer-f1cdaa5bb3022a7fa1a407241073f61f6e25d5c7.tar.gz
nanoengineer-f1cdaa5bb3022a7fa1a407241073f61f6e25d5c7.zip
Added the W0611 report, removed the nightly build.
-rwxr-xr-xcad/src/tools/SEMBot/index.php2
-rwxr-xr-xcad/src/tools/SEMBot/runNightlyBuild.sh2
-rwxr-xr-xcad/src/tools/SEMBot/runPylint.sh4
-rwxr-xr-xcad/src/tools/SEMBot/runSEMBot.sh2
4 files changed, 8 insertions, 2 deletions
diff --git a/cad/src/tools/SEMBot/index.php b/cad/src/tools/SEMBot/index.php
index 12a65ebf8..0e61ed5b2 100755
--- a/cad/src/tools/SEMBot/index.php
+++ b/cad/src/tools/SEMBot/index.php
@@ -115,7 +115,7 @@ Welcome to the Nanorex Software-Engineering Mechanisms Robot (SEMBot).
<tr>
<td align="right">Pylint: </td>
<td><span class="summary-name"><?php include 'Pylint.result'; ?>&nbsp;out of 10.0</span></td>
- <td><a href="SVN-D/cad/src/pylint_global.0.html">Detail</a></td></tr>
+ <td><a href="SVN-D/cad/src/pylint_global.0.html">Detail</a> (Filtered: <a href="W0611.txt">W0611</a>)</td></tr>
</table></td>
</tr>
diff --git a/cad/src/tools/SEMBot/runNightlyBuild.sh b/cad/src/tools/SEMBot/runNightlyBuild.sh
index 4417a88c8..011b4a50c 100755
--- a/cad/src/tools/SEMBot/runNightlyBuild.sh
+++ b/cad/src/tools/SEMBot/runNightlyBuild.sh
@@ -10,6 +10,7 @@ pushd SVN-D
# Bootstrap
rm -f configure
+export PATH=/usr/local/bin:$PATH
./bootstrap
if [ ! -e configure ]; then
popd
@@ -46,6 +47,7 @@ popd
# Create build descriptions
BUILD_FILESIZE=`du -h NE1_Builds/${BUILD_FILENAME} | sed 's/\([0-9a-zA-Z\.]*\).*/\1/'`
echo "<td><span class=\"summary-name\"><a href=\"/Engineering/NE1_Builds/${BUILD_FILENAME}\">tar.gz</a>&nbsp;&nbsp;</span></td><td><span class=\"summary-name\">[${BUILD_FILESIZE}]</span></td>" > tar.gz.frag
+echo "NanoEngineer-1${NE1_VERSION}_${SERIAL_NUMBER}" > NightlyBuild.filename
# Create archive entry
echo " <tr><td>NanoEngineer-1_${NE1_VERSION}_${SERIAL_NUMBER}</td><td><a href=\"/Engineering/NE1_Builds/${BUILD_FILENAME}\">tar.gz</a></td><td>| <a href=\"#\">dmg</a></td><td>| <a href=\"#\">rpm</a></td></tr>" > archives.frag.tmp
diff --git a/cad/src/tools/SEMBot/runPylint.sh b/cad/src/tools/SEMBot/runPylint.sh
index 1d80dc29d..80c40c2d4 100755
--- a/cad/src/tools/SEMBot/runPylint.sh
+++ b/cad/src/tools/SEMBot/runPylint.sh
@@ -48,3 +48,7 @@ rm pylint.?.result tmp.txt
popd
+# Generate a filtered report (W0611 - Unused import %s Used when an imported
+# module or variable is not used.
+grep W0611 SVN-D/cad/src/pylint_* > W0611.txt
+
diff --git a/cad/src/tools/SEMBot/runSEMBot.sh b/cad/src/tools/SEMBot/runSEMBot.sh
index 5b695bb42..df3e918f2 100755
--- a/cad/src/tools/SEMBot/runSEMBot.sh
+++ b/cad/src/tools/SEMBot/runSEMBot.sh
@@ -47,5 +47,5 @@ echo ${RESULT} > QA_TestHarness.result
# Run nightly build
-./runNightlyBuild.sh &>NightlyBuild.log
+#./runNightlyBuild.sh &>NightlyBuild.log