Skip to content

Commit

Permalink
Add OS X to travis; fix tests to pass on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Mar 18, 2015
1 parent 813d6d6 commit ed71504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: cpp
os:
- linux
- osx
script: ./autogen.sh && ./configure && make distcheck
notifications:
email: false
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ TEST_F(CommandLineInterfaceTest, WriteDependencyManifestFile) {
" optional Foo foo = 1;\n"
"}\n");

string current_working_directory = get_current_dir_name();
string current_working_directory = getcwd(NULL, 0);
SwitchToTempDirectory();

Run("protocol_compiler --dependency_out=manifest --test_out=. "
Expand Down

0 comments on commit ed71504

Please sign in to comment.