CI script updates

This commit is contained in:
Blaise Tine 2020-09-20 01:27:34 -04:00
parent b3a52f4002
commit 990b1585f1
2 changed files with 10 additions and 11 deletions

View file

@ -1,3 +1,3 @@
#!/bin/bash
make -C benchmarks/riscv_tests/isa run
make -C hw/simulate run

View file

@ -142,17 +142,16 @@ int main(int argc, char **argv) {
#endif
} else {
bool passed = true;
std::vector<std::string> tests(argv+2, argv+argc);
for (std::string test : tests) {
std::cout << test << std::endl;
std::string test(argv[2]);
std::cout << test << std::endl;
RAM ram;
Simulator simulator;
simulator.attach_ram(&ram);
simulator.load_ihex(test.c_str());
simulator.run();
RAM ram;
Simulator simulator;
simulator.attach_ram(&ram);
simulator.load_ihex(test.c_str());
simulator.run();
}
return 0;
}