diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-17 21:11:04 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-17 21:11:04 +0000 |
commit | fff0da258cb16723d30dbc8a1238940dc12f7bd6 (patch) | |
tree | d7fedc95ef351a07f956ce98b9ea804f1dd9e7e9 | |
parent | 3d91c917a67d529c284546b25e1315cf9d338ccd (diff) | |
download | gcc-fff0da258cb16723d30dbc8a1238940dc12f7bd6.tar.gz |
2011-03-17 Basile Starynkevitch <basile@starynkevitch.net>
* testsuite/melt/tgcissue-pv-1c.c: Comment typo.
* testsuite/melt/tgcissue-pv-1m.melt: Comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@171115 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog.MELT | 4 | ||||
-rw-r--r-- | gcc/testsuite/melt/tgcissue-pv-1c.c | 9 | ||||
-rw-r--r-- | gcc/testsuite/melt/tgcissue-pv-1m.melt | 6 |
3 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog.MELT b/gcc/ChangeLog.MELT index 625eb61a531..9a3917a2960 100644 --- a/gcc/ChangeLog.MELT +++ b/gcc/ChangeLog.MELT @@ -1,5 +1,9 @@ 2011-03-17 Basile Starynkevitch <basile@starynkevitch.net> + * testsuite/melt/tgcissue-pv-1c.c: Comment typo. + * testsuite/melt/tgcissue-pv-1m.melt: Comment typo. + +2011-03-17 Basile Starynkevitch <basile@starynkevitch.net> * testsuite/melt/tgcissue-pv-1c.c: New file. * testsuite/melt/tgcissue-pv-1m.melt: New file. diff --git a/gcc/testsuite/melt/tgcissue-pv-1c.c b/gcc/testsuite/melt/tgcissue-pv-1c.c index 30bdd63e14d..bbde5bc1a92 100644 --- a/gcc/testsuite/melt/tgcissue-pv-1c.c +++ b/gcc/testsuite/melt/tgcissue-pv-1c.c @@ -1,10 +1,11 @@ /* bug reported by Pierre Vittet http://gcc.gnu.org/ml/gcc/2011-03/msg00206.html The C source file - run in $GCCMELT_BUILD/gcc - ./cc1 -fmelt-module-path=melt-modules -fmelt-source-path=melt-sources \ - -O2 -c -fmelt-mode=runfile \ - -fmelt-arg=$GCCMELT_SOURCE/gcc/testsuite/melt/tgcissue-pv-1m.melt \ + first build the tgissue-pv-1m.so module from tgissue-pv-1m.melt + then run in $GCCMELT_BUILD/gcc + ./cc1 -fmelt-module-path=.:melt-modules -fmelt-source-path=.:melt-sources:$GCCMELT_SOURCE/gcc/testsuite/melt \ + -fmelt-init=@@:tgcissue-pv-1m \ + -O2 -v -fmelt-mode=tgcissue \ -fmelt-debug $GCCMELT_SOURCE/gcc/testsuite/melt/tgcissue-pv-1c.c */ int function1(void) { diff --git a/gcc/testsuite/melt/tgcissue-pv-1m.melt b/gcc/testsuite/melt/tgcissue-pv-1m.melt index 140812147ad..2314feeeb1c 100644 --- a/gcc/testsuite/melt/tgcissue-pv-1m.melt +++ b/gcc/testsuite/melt/tgcissue-pv-1m.melt @@ -7,7 +7,7 @@ ;; transtate first this file with #| ./cc1 -fmelt-module-path=melt-modules -fmelt-source-path=melt-sources \ - -O2 -c -fmelt-mode=translatefile \ + -O2 -c -fmelt-mode=translatetomodule \ -fmelt-arg=$GCCMELT_SOURCE/gcc/testsuite/melt/tgcissue-pv-1m.melt |# ;; then run the tgcissue-pv-1c.c test file @@ -41,8 +41,8 @@ ;; so we have to install a mode (definstance tgissue_mod class_melt_mode - :named_name '"tgissue" - :meltmode_help '"simple test" + :named_name '"tgcissue" + :meltmode_help '"tgissue test" :meltmode_fun tgissue_docmd ) (install_melt_mode tgissue_mod) |