zcoding-to-test.sh
author Walther Neuper <wneuper@ist.tugraz.at>
Mon, 27 Aug 2018 15:57:45 +0200
changeset 59462 a3edc91cfe1f
parent 59320 4549c6062b30
child 59492 b4fdc7f6bcc7
permissions -rwxr-xr-x
sabelle2017->18: for Test_Isac.thy minor changes
wneuper@59316
     1
# switches isac from coding-mode to test-mode:
wneuper@59316
     2
# this makes additional functions in signatures visible for tests.
wneuper@59316
     3
wneuper@59316
     4
cd src/Tools/isac
wneuper@59316
     5
find . -type f -exec sed -i s/'--- ! aktivate for Test_Isac BEGIN ---\\\* )'/'--- ! aktivate for Test_Isac BEGIN ---\\\*)'/g {} \;
wneuper@59316
     6
find . -type f -exec sed -i s/'( \*\\--- ! aktivate for Test_Isac END ---'/'(\*\\--- ! aktivate for Test_Isac END ---'/g {} \;
wneuper@59320
     7
cd ../../../  # go back to ~~/.
wneuper@59320
     8
wneuper@59320
     9
# immediately go to testing
wneuper@59316
    10
./bin/isabelle jedit -l Isac test/Tools/isac/Test_Isac.thy &