Fix compilation error on ARM. (#3800)

This commit is contained in:
Philipp Moritz
2019-01-18 00:25:16 -08:00
committed by Robert Nishihara
parent 9af5a62e05
commit 931e6a2fc3
+1 -2
View File
@@ -68,8 +68,7 @@ TEST(SignalTest, SIGILL_Test) {
pid = fork();
ASSERT_TRUE(pid >= 0);
if (pid == 0) {
// This code will cause SIGILL sent.
asm("ud2");
raise(SIGILL);
} else {
Sleep();
RAY_LOG(ERROR) << "SIGILL_Test: kill pid " << pid