diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-14 08:38:36 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-14 08:38:36 +0000 |
commit | ba29b4dc6b67f242b316854f2bb0323bdbff85f2 (patch) | |
tree | 96908d87a706798dd89d7520ff7a37e36699ccc5 /src/target/target | |
parent | 08058e72d9928441a3c52f2107582bd7d373e0f6 (diff) | |
download | openocd+libswd-ba29b4dc6b67f242b316854f2bb0323bdbff85f2.tar.gz openocd+libswd-ba29b4dc6b67f242b316854f2bb0323bdbff85f2.tar.bz2 openocd+libswd-ba29b4dc6b67f242b316854f2bb0323bdbff85f2.tar.xz openocd+libswd-ba29b4dc6b67f242b316854f2bb0323bdbff85f2.zip |
testing of syntax error in reset and at startup
git-svn-id: svn://svn.berlios.de/openocd/trunk@1054 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target')
-rw-r--r-- | src/target/target/test_reset_syntax_error.cfg | 15 | ||||
-rw-r--r-- | src/target/target/test_syntax_error.cfg | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/target/target/test_reset_syntax_error.cfg b/src/target/target/test_reset_syntax_error.cfg new file mode 100644 index 00000000..d2ae9109 --- /dev/null +++ b/src/target/target/test_reset_syntax_error.cfg @@ -0,0 +1,15 @@ +# Test script to check that syntax error in reset
+# script is reported properly.
+
+# at91eb40a target
+
+#jtag scan chain
+jtag_device 4 0x1 0xf 0xe
+
+#target configuration
+target arm7tdmi little 0 arm7tdmi-s_r4
+
+[new_target_name] configure -event reset-init {
+
+ syntax error
+}
diff --git a/src/target/target/test_syntax_error.cfg b/src/target/target/test_syntax_error.cfg new file mode 100644 index 00000000..9a87912c --- /dev/null +++ b/src/target/target/test_syntax_error.cfg @@ -0,0 +1,4 @@ +# This script tests a syntax error in the startup
+# config script
+
+syntax error here
\ No newline at end of file |