Comments (11)
from testcl.
@Sebastian-Brzuzek, could you give this a go on a windows machine and pull and merge if ok?
from testcl.
@landro I just executed tests and examples on WinXP and have a lot of errors like this one:
Unexpected unknown command invocation 'exec tput -S << setaf'
Maybe you should add an "on" statement similar to the one below to your "it" block?
it "your description" {
...
on exec tput -S << setaf return "your return value"
...
}
I'm not sure if my environment is setup in correct way, so I will try to test it on Win7 in the evening and let you know if it is the same. I have no time Today to try to fix it, but I will try to look on it during next days.
from testcl.
@Sebastian-Brzuzek It might be related to the disabled exec command. I enabled it again to make this work. Make sure you have a clean repo - maybe the easiest is to check out the coloured_messages branch
from testcl.
@landro I was testing on clean check out of the coloured_messages branch, so this is not related to disabled exec command (I was using jtcl to be sure there is no problem with tcl interpreter).
from testcl.
@landro I just executed test.cmd on Win7 - result shared here https://gist.github.com/Sebastian-Brzuzek/7878312
There is no error when I run examples.cmd
I'm sure this is related to coloured messages not with environment - there is no error when I run tests.cmd from main branch
from testcl.
@Sebastian-Brzuzek Oh man, totally forgot about updating and running these tests. Should be ok now. Would you mind retesting it quick?
I notice by the way that exec from jtcl is kinda slow some times, and if you hit enter to fast between the tests, the stream is closed, at least on my mac.
By the way, I presume you don't see any color coded output on windows, is that correct?
from testcl.
@landro now it looks much better. There are no errors. Your assumption about lack of colours in windows command line is correct as well. I will merge this branch to main in spare time today
from testcl.
Hi,
Please wait a little before you merge. I'll send a pull request when ready.
Stefan
Sendt fra min iPhone
Den 10. des. 2013 kl. 04:35 skrev Sebastian Brzuzek [email protected]:
@landro now it looks much better. There are no errors. Your assumption about lack of colours in windows command line is correct as well. I will merge this branch to main in spare time today
—
Reply to this email directly or view it on GitHub.
from testcl.
OK. Let me know when there will be final version available (I will try to find the reason of problem on WinXP in the mean time, but we should not wait if it will be difficult to fix on this obsolete platform).
Seba.
from testcl.
I found there was incorrect setup of TCLLIBPATH in my WinXP environment pointing to some obsolete version of TesTcl. After cleanup of this environment varialble it looks even on WinXP everything works as expected - both tests.cmd and examples.cmd passed without errors.
Cheers,
Seba.
from testcl.
Related Issues (20)
- Implement IP::addr
- Error using HTTP::cookie HOT 4
- Variable support HOT 5
- Unexpected unknown command invocation 'class configure' HOT 8
- Documentation should explain what you'll see if misconfigured HOT 7
- Error if test file is not found HOT 1
- Overwriting Fields in iRule HOT 5
- Docker Image HOT 3
- Update download link for jtcl-irule.jar HOT 1
- linting of the test files? HOT 1
- iRule problem HOT 1
- irules withour rule name { } HOT 4
- Return ok with failed tests HOT 2
- testing elseif/else conditions failure HOT 1
- Support for -normalized flags
- Implementing K23237429
- Support for virtual HOT 2
- Return code != 0 when tests are failing
- getfield implementation splits only on character and not string
- Variables used for calling one iRule are reused for following IT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testcl.