<commit_before>--
-- tests/base/test_premake_command.lua
-- Test the initialization of the _PREMAKE_COMMAND global.
-- Copyright (c) 2012-2013 <NAME> and the Premake project
--

	local suite = test.declare("premake_command")


	function suite.valueIsSet()
		local filename = iif(os.is("windows"), "premake5.exe", "premake5")
		test.isequal(path.getabsolute("../bin/debug/" .. filename), _PREMAKE_COMMAND)
	end<commit_msg>Pass _PREMAKE_COMMAND unit test when executable uses a non-standard name or location<commit_after>--
-- tests/base/test_premake_command.lua
-- Test the initialization of the _PREMAKE_COMMAND global.
-- Copyright (c) 2012-2014 <NAME> and the Premake project
--

	local suite = test.declare("premake_command")


	function suite.valueIsSet()
		test.istrue(os.isfile(_PREMAKE_COMMAND))
	end
{'fraction_non_alphanumeric': 0.12391573729863693, 'fraction_numerical': 0.022304832713754646, 'mean_word_length': 4.65034965034965, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4608320', 'n_tokens_mistral': 289, 'n_tokens_neox': 255, 'n_words': 65}