Skip to content
Permalink
c687b53340
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
26 lines (20 sloc) 550 Bytes
/**
* @file main.cpp
* @copyright 2012 Jolla Ltd.
* @author Martin Kampas <martin.kampas@tieto.com>
* @date 2012
*/
#include <QtTest/QtTest>
#include "libssu/sandbox_p.h"
#include "repomanagertest.h"
int main(int argc, char **argv){
Sandbox sandbox(QString("%1/configroot").arg(LOCATE_DATA_PATH),
Sandbox::UseAsSkeleton, Sandbox::ThisProcess);
if (!sandbox.activate()){
qFatal("Failed to activate sandbox");
}
RepoManagerTest repomanagerTest;
if (QTest::qExec(&repomanagerTest, argc, argv))
return 1;
return 0;
}