Lines Matching defs:bc
126 # Check the bc banner.
129 bc_banner1 = "bc [0-9]+\\.[0-9]+\\.[0-9]+\r\n"
131 bc_banner3 = "Report bugs at: https://git.gavinhoward.com/gavin/bc\r\n\r\n"
146 def test_utf8(exe, args, env, idx, bc=True):
148 # Because both bc and dc use this, make sure the banner doesn't pop.
159 if bc:
186 def test_utf8_0(exe, args, env, bc=True):
188 # Because both bc and dc use this, make sure the banner doesn't pop.
200 if bc:
225 def test_utf8_1(exe, args, env, bc=True):
226 return test_utf8(exe, args, env, 0, bc)
229 def test_utf8_2(exe, args, env, bc=True):
230 return test_utf8(exe, args, env, 1, bc)
233 def test_utf8_3(exe, args, env, bc=True):
234 return test_utf8(exe, args, env, 2, bc)
237 def test_utf8_4(exe, args, env, bc=True):
238 return test_utf8(exe, args, env, 3, bc)
247 # Because both bc and dc use this, make sure the banner doesn't pop.
279 # Because both bc and dc use this, make sure the banner doesn't pop.
313 # Because both bc and dc use this, make sure the banner doesn't pop.
351 # Because both bc and dc use this, make sure the banner doesn't pop.
391 # Because both bc and dc use this, make sure the banner doesn't pop.
452 # Basic bc test.
1018 # The array of bc tests.
1063 print(" The valid values for dir are: 'bc' and 'dc'.")
1064 print(" The max test_idx for bc is {}.".format(len(bc_tests) - 1))
1096 if exedir == "bc":
1114 if exebase == "bc":