Computer device emulates barbaric test for evil woman? (3,6)
I believe the answer is:
dip switch
'computer device' is the definition.
(type of electronic switch)
'emulates barbaric test for evil woman?' is the wordplay.
I cannot quite understand how this works, but
'woman?' could be 'di' (short for Diana) and 'di' is found in the answer.
This may be the basis of clue (or it may be nonsense).
(Other definitions for dip switch that I've seen before include "Light control" , "control of car" , "Uses ducking-stool, perhaps" , "Electrical device" , "with which one lowers beam" .)