// writing control file "*-test.xml"
HelixControl control (dumpPath + "/solver-test.xml",
- sourceTable);
+ sourceTable,
+ resolver.architecture());
for (PoolItemList::const_iterator iter = items_to_install.begin(); iter != items_to_install.end(); iter++) {
control.installResolvable (iter->resolvable());
HelixControl::HelixControl(const std::string & controlPath,
const SourceTable & sourceTable,
+ const Arch & systemArchitecture,
const std::string & systemPath)
:dumpFile (controlPath)
{
*file << "<?xml version=\"1.0\"?>" << endl
<< "<!-- testcase generated by YaST -->" << endl
<< "<test>" << endl
- << "<setup>" << endl
+ << "<setup arch=\"" << systemArchitecture << "\">" << endl
<< TAB << "<system file=\"" << systemPath << "\"/>" << endl;
for ( SourceTable::const_iterator it = sourceTable.begin();
it != sourceTable.end(); ++it ) {
public:
HelixControl (const std::string & controlPath,
const SourceTable & sourceTable,
+ const Arch & systemArchitecture,
const std::string & systemPath = "solver-system.xml");
HelixControl ();
~HelixControl ();