sickill/stderred — pull request #18 by cehoffman (2012-04-30 17:34:39+00:00)
Title: Hefty update - tests, cmake, stream functions

I kinda went overboard with getting all the little things a small project could use.

I used cmake to control multi platform building so detecting features like architecture, error_at_line, unlocked stream functions, etc. could be detected between osx, ubuntu, fedora, etc. I also took advantage of the test runner in cmake to verify the built functions are connected correctly.

I tried making the test running work seamlessly on mac and linux but I just kept running into errors. The is mostly and issue with the way lib loading works between mac and linux. On the mac I couldn't get isatty to be shadowed for the test, so I had to go the full pty route. On linux though, I couldn't get the pty to cooperate and shadowing worked fine. Oh well.

I'm submitting this pull incase you have a desire to work for here. Otherwise I'll probably continue working with this if I find problems.