approvals / ApprovalTests.cpp

Native ApprovalTests for C++ on Linux, Mac and Windows
https://approvaltestscpp.readthedocs.io/en/latest/
Apache License 2.0
318 stars 51 forks source link

Add BeyondCompare support on Linux #114

Closed claremacrae closed 4 years ago

claremacrae commented 4 years ago

BeyondCompare is supported on Linux, so it would be worth adding support for it.

https://www.scootersoftware.com/download.php?zz=kb_linux_install

claremacrae commented 4 years ago

When installed via the link above, for Ubuntu, bcompare is in the PATH, and this just works. So adding support for this should be pretty easy.

claremacrae commented 4 years ago

Better still would be to call bcomp - as that reuses any existing Beyond Compare session.... https://www.scootersoftware.com/v4help/index.html?calling_bc_from_other_applications.html

claremacrae commented 4 years ago

This is implemented - once I've finished setting up a Linux VM to test it, I'll close the issue.

claremacrae commented 4 years ago

This is now tested on Ubuntu, and fixed.

To install Beyond Compare for testing, I followed these instructions:

https://www.scootersoftware.com/download.php?zz=kb_linux_install

And ran these commands:

wget https://www.scootersoftware.com/bcompare-4.3.4.24657_amd64.deb
sudo apt-get update
sudo apt-get install gdebi-core
sudo gdebi bcompare-4.3.4.24657_amd64.deb