test_gtest_on_ubuntu run gtest. run the below commands: sudo su ./run.sh g++ test.cpp -lgtest -lpthread