Ошибка: < /p>
make[2]: *** [live_module/test/CMakeFiles/live_report_unittest.dir/live_report_unittest.cc.o] 错误 1
make[1]: *** [live_module/test/CMakeFiles/live_report_unittest.dir/all] 错误 2
make: *** [all] 错误 2
live_module/test/live_report_unittest.cc:183:2: 错误:no matching function for call to ‘EasyMock::Mocke
< /code>
code: < /p>
proc = subprocess.Popen(
cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
returncode = proc.returncode
< /code>
Для приведенной выше ошибки, почему выполнение приведенного ниже кода приводит к коду возврата 0 (успех), когда я ожидаю, что он сообщит об ошибке? В чем причина этого и как я могу решить проблему?
Подробнее здесь: https://stackoverflow.com/questions/794 ... -even-when
Мобильная версия