There is a test, test_realpath in tests/test_other.py. Does that not pass for you (tests/runner.py other.test_realpath)? Or does it not test the functionality you are seeing broken?
On Fri, Nov 6, 2015 at 12:28 PM, Flix <[email protected]> wrote: > > Actually I've found out that *realpath *in emscripten (at least the new > one, 1.35.7) always returns empty strings and can't be used to retrieve > absolute paths. > > However the current folder seems to be always the root "/", so getting the > absolute path should be rather easy (prefixing with "/"). > > In any case what I have reported seems to be correct: realpath correctly > returned "/" in 1.34.1, as far as I can see by running an old built .html > file (please do not ask me to roll back my emscripten installation...). > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
