Honor BUILD_TESTING cmake variable in julia backend
Differential Revision: https://phabricator.kde.org/D3441 CCBUG: 372676