intel / yarpgen

Yet Another Random Program Generator
Other
485 stars 53 forks source link

can we use run_gen.py if the output of compilation will be run in a particular emulator. And how to set the test-sets.txt if so #145

Open JoieAli opened 3 years ago

dbabokin commented 3 years ago

How difficult is to run your emulator? Is it basically a prefix for test command line execution (like Intel SDE can be run like sde -skx -- ./my_test) or it requires more complex invokation?

JoieAli commented 3 years ago

yeap, it's just like that, emulator [options] ./a.out

dbabokin commented 3 years ago

You need to generate appropriate makefile, i.e. hack https://github.com/intel/yarpgen/blob/main/scripts/gen_test_makefile.py See how it's done for sde in this file. But you might not need sophisticated logic as we have for sde, which is triggered based of the host platform we run. @Vsevolod-Livinskij might have more details.