message: add test_2012_p642_il1, test_2012_p642_il2
diff: @@ -100,5 +100,33 @@ class PreprocessorTC(unittest.TestCase):
  self.assertTrue('Missmatch in number of argument macro declaration (2) and macro usage (3)' in context.exception)
  + def test_2012_p642_il1(self):
  + with self.assertRaises(hdlConvertor.parseException) as context:
  + result = hdlConvertor.test(
  + path.join(TEST_DIR,'sv_pp','src','2012_p642_il1.txt'),
  + ['.','..',path.join('sv_pp','src')],
  + 2
  + )
  + self.assertTrue('Missmatch in number of argument macro declaration (3) and macro usage (1)' in context.exception)
  +
  +
  + def test_2012_p642_il2(self):
  + with self.assertRaises(hdlConvertor.parseException) as context:
  + result = hdlConvertor.test(
  + path.join(TEST_DIR,'sv_pp','src','2012_p642_il2.txt'),
  + ['.','..',path.join('sv_pp','src')],
  + 2
  + )
  + self.assertTrue('Missmatch in number of argument macro declaration (3) and macro usage (0)' in context.exception)
  +
  +# def test_2012_p642_il3(self):
  +# result = hdlConvertor.test(
  +# path.join(TEST_DIR,'sv_pp','src','2012_p642_il3.txt'),
  +# ['.','..',path.join('sv_pp','src')],
  +# 2
  +# )
  +
  +
  +
  if __name__ == "__main__":
  unittest.main()
  