You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
grammar-cover administrivia
This commit is contained in:
1
test/grammar-cover/.gitignore
vendored
Normal file
1
test/grammar-cover/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/.python-version
|
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
for VERS in 2{4,5,6,7} 3{2,3,4,5} ; do
|
for VERS in 2{4,5,6,7} 3{2,3,4,5} ; do
|
||||||
GRAMMAR_TXT=grammar-${VERS}.txt
|
GRAMMAR_TXT=grammar-${VERS}.txt
|
||||||
spark-parser-coverage --max-count 900 --path spark-grammar-${VERS}.cover > $GRAMMAR_TXT
|
spark-parser-coverage --max-count 3000 --path spark-grammar-${VERS}.cover > $GRAMMAR_TXT
|
||||||
done
|
done
|
||||||
|
13
test/grammar-cover/run-and-email.sh
Executable file
13
test/grammar-cover/run-and-email.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
USER=${USER:-rocky}
|
||||||
|
EMAIL=${EMAIL:-rb@dustyfeet.com}
|
||||||
|
SUBJECT_PREFIX="grammar cover testing for"
|
||||||
|
/bin/bash ./grammar-all.sh >$LOGFILE 2>&1
|
||||||
|
rc=$?
|
||||||
|
if ((rc == 0)); then
|
||||||
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX ok" ${USER}@localhost
|
||||||
|
else
|
||||||
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" ${USER}@localhost
|
||||||
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" $EMAIL
|
||||||
|
fi
|
||||||
|
done
|
1
test/stdlib/.gitignore
vendored
Normal file
1
test/stdlib/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/.python-version
|
Reference in New Issue
Block a user