Thoughts on what tools to set up the tests. Run-benchmark gives Run-time error 112 in regex-dna.
Clint wrote umake and sh for a particular job. they seem to be OK but will need maintaining. The existing windows based tools seem to vary in their effect and quality. The bash under Ubuntu is Linux, predictable and well maintained. Windows 10 users can invoke ubuntu bash (actually I can't right this moment; has bash-under-Ubuntu on Windows been withdrawn?). Perhaps a bash script could (with the assistance of make and other tools accessible from bash) create a batch script sensitive to local variables like tmp and temp. It might be able to run the make process under Ubuntu, and only return to Windows when the customisation was over. Obviously Windows (driven by a batch script or power-shell etc) would need to invoke the Unicon processes, (translate, link etc) because we don't want to cross-compile Unicon. And because we want the Windows timings, we need Windows to run the windows executables. And I bet there are some areas where MS has had to adapt bash; What does pwd say? Permissions don't translate well as you noted. Also bash will never be hosted on Windows earlier than 10. If you want to see benchmarks for Windows 7,8,8.1 then Ubuntu bash is not the solution. Putting some script-writing in the cloud would solve that problem, but the complexity and maintenance issues would be greater than umake and sh I fear. Oh yes, I tried run-benchmark It gave an Icon run-time error. On regex-dna I redirected the normal output. I have kept it. Run-time error 112 File regex-dna.icn; Line 253 invalid type to size operation offending value: &null Traceback: main(list_1 = []) getavgtimes(procedure run_regexdna_sequential,"700-thou.dat") from line 172 in run-benchmark.icn run_regexdna_sequential(list_5068880 = ["700-thou.dat"]) from line 129 in auxiliary.icn {*&null} from line 253 in regex-dna.icn just in case, C:\Users\Jay\Documents\tmp\tests\bench>dir 700* ... 17/04/2017 22:40 7,233,416 700-thou.dat 1 File(s) 7,233,416 bytes ... jay On 18/04/2017 22:22, Jafar Al-Gharaibeh wrote: > The moral of the story is that if we want to be able to run the > benchmarks and/or the standard test suite on Windows then we have to > come up with a way around Windows limitations/restrictions. The > benchmark and the tests are independent of other parts of the language > so we can easily ship them separately allowing the user to place them > in a writable location to start with and run them there. > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group