summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-27 12:30:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-27 12:30:04 -0800
commit3f7bdb1382cd3632cf813e165c4143bc8f7961d6 (patch)
tree45db3a26c3632812cde13e604b736101935bcec2
parentf320d9f9ea2f983d9a0f5d01f1235eef1df28f37 (diff)
Renamed runtests.py -> spec_tests.py.
-rw-r--r--CMakeLists.txt4
-rw-r--r--README.md4
-rw-r--r--spec.txt4
-rwxr-xr-xspec_tests.py (renamed from runtests.py)0
4 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2eb9815..05679ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,7 +23,7 @@ enable_testing()
# To get verbose output: cmake --build build --target "test" -- ARGS='-V'
add_test(spectest_library
- python "${CMAKE_SOURCE_DIR}/runtests.py" "--no-normalize" "--spec"
+ python "${CMAKE_SOURCE_DIR}/spec_tests.py" "--no-normalize" "--spec"
"${CMAKE_SOURCE_DIR}/spec.txt" "--library-dir" "${CMAKE_BINARY_DIR}/src"
)
add_test(pathological_tests_library
@@ -38,7 +38,7 @@ if (WIN32)
)
endif(WIN32)
add_test(spectest_executable
- python "${CMAKE_SOURCE_DIR}/runtests.py" "--no-normalize" "--spec" "${CMAKE_SOURCE_DIR}/spec.txt" "--program" "${CMAKE_BINARY_DIR}/src/cmark"
+ python "${CMAKE_SOURCE_DIR}/spec_tests.py" "--no-normalize" "--spec" "${CMAKE_SOURCE_DIR}/spec.txt" "--program" "${CMAKE_BINARY_DIR}/src/cmark"
)
if(NOT CMAKE_BUILD_TYPE)
diff --git a/README.md b/README.md
index 43b1769..98cf8e2 100644
--- a/README.md
+++ b/README.md
@@ -75,12 +75,12 @@ Or, to create Xcode project files on OSX:
Tests can also be run manually on any executable `$PROG` using:
- python runtests.py --program $PROG
+ python spec_tests.py --program $PROG
If you want to extract the raw test data from the spec without
actually running the tests, you can do:
- python runtests.py --dump-tests
+ python spec_tests.py --dump-tests
and you'll get all the tests in JSON format.
diff --git a/spec.txt b/spec.txt
index dcb91b3..3e8d968 100644
--- a/spec.txt
+++ b/spec.txt
@@ -170,10 +170,10 @@ as a "syntax error," the divergence often isn't discovered right away.
This document attempts to specify Markdown syntax unambiguously.
It contains many examples with side-by-side Markdown and
HTML. These are intended to double as conformance tests. An
-accompanying script `runtests.py` can be used to run the tests
+accompanying script `spec_tests.py` can be used to run the tests
against any Markdown program:
- python runtests.py --spec spec.txt --program PROGRAM
+ python spec_tests.py --spec spec.txt --program PROGRAM
Since this document describes how Markdown is to be parsed into
an abstract syntax tree, it would have made sense to use an abstract
diff --git a/runtests.py b/spec_tests.py
index 5d04818..5d04818 100755
--- a/runtests.py
+++ b/spec_tests.py