no spark


how am I able to tell if the distributor or the ignition control module is going bad because I don’t have a spark.

1987 BMW 325e

New rebuilt motor got fuel but wont start. What part of the ignition system would be the problem? Or what part would more likely be?