* NEWS: Fix typos.
* tests/py-compile-basic.test: Likewise.
* tests/py-compile-basedir.test: Fix botched wording in comments.
* tests/py-compile-option-terminate.test: Fix typo and incomplete
comment.
Suggestions by Peter Rosin.
+2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ cosmetics: fix various typos and grammaros
+ * NEWS: Fix typos.
+ * tests/py-compile-basic.test: Likewise.
+ * tests/py-compile-basedir.test: Fix botched wording in comments.
+ * tests/py-compile-option-terminate.test: Fix typo and incomplete
+ comment.
+ Suggestions by Peter Rosin.
+
2011-09-11 Stefano Lattarini <stefano.lattarini@gmail.com>
tests: fix spurious failure on fast machines
- The py-compile script now accepts empty arguments passed to the options
`--destdir' and `--basedir', and complains about unrecognized options.
- Moreover, a non-option argument or a special `--' arguments terminates
+ Moreover, a non-option argument or a special `--' argument terminates
the list of options.
- A developer that needs to pass specific flags to configure at "make
set -e
-# We'll need to create files in `..', so that we need another level of
-# subdirectory in order not to clutter up the top-level tests directory.
+# We'll need to create files in `..', so we need one more subdirectory
+# level in order not to clutter up the top-level tests directory.
mkdir sandbox
cd sandbox
cp "$testsrcdir/../lib/py-compile" .
cat > foo.py <<'END'
-# Try out some non-trivial sytanx in here.
+# Try out some non-trivial syntax in here.
'''Module docstring'''
END
cat > bar.py <<'END'
-# Import of non-existent modules, or assertion of flase conditions,
+# Import of non-existent modules, or assertion of false conditions,
# shouldn't cause problems, as it should be enough for the code to
# be syntactically correct.
import Automake.No.Such.Module
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Check that a `--' argument explicitly terminates option list for
-# `py-compile'.
+# Check that a non-option argument and the `--' special argument
+# explicitly terminate the option list for `py-compile'.
required=python
. ./defs || Exit 1